By Martin on Friday, 19 June 2020
Posted in General Issues
Replies 8
Likes 0
Views 769
Votes 0
Hi!
Im putting my blog up to date, and updating settings and starting to use features that i dont even knew that were available
Now is the time for Google AMP.
I have the setting turned on, but in the AMP testing page ( https://search.google.com/test/amp )
i get an error, either is not an AMP page (if i use the regular URL), or that can not access the requested page (if i use the "?format=amp" URL)
My website is https://ideaalab.com and there are lots of blog post if you would like to try.
Thanks for your help!
Hm, that is strange, when I trying to access this page https://ideaalab.com/es/prediccion-matricula/?format=amp then it only show "Error".

Can you update your site backend and FTP access at https://stackideas.com/dashboard/site so we can better have a check?
·
Friday, 19 June 2020 20:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Ive already granted access on the initial post, although ive just did it also on where you showed me.

Im using "Admin Tools" from Akeeba. Telling this because it has several hardening options. Prevents malicious actions, but also sometimes blocks some wanted actions. Hope this is not the case, but just in case, wanted to let you know, if this was the problem with the error.
·
Friday, 19 June 2020 22:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Do you know which 3rd party plugin or server render this "Error" on the page?

Because I did tried to rename this admintool plugin folder, it seems like it still render that "Error" which difficult for us to know what is the exact error it hitting.

But so far I know one of the 3rd party plugin trying to execute something when Easyblog render the blog content into AMP page.

Because when I comment out the event triggering from Easyblog, then it will load just fine.

Or do you have a staging for this so I can try disable one by one of your 3rd party plugin and see which plugin caused this issue.
·
Saturday, 20 June 2020 15:09
·
0 Likes
·
0 Votes
·
0 Comments
·

0 Call to undefined method Joomla\CMS\Document\RawDocument::addCustomTag()
/home/magiaeng/public_html/ideaalab2017/plugins/system/componentsanywhere/src/Document.php:184


Okay, found the real error when I temporary switch your homepage menu item to protostar template.

It seems like this 3rd party plugin "System - Regular Labs - Components Anywhere" caused the issue.

I have applied some temporary fix under this file JoomlaFolder/plugins/system/componentsanywhere/src/Document.php , for now I am not sure whether got affect other thing or not but you can take a look my attached screenshot below what I modified.

So the AMP page loaded now but I noticed AMP validation page has some error when render the pagebuilder content https://monosnap.com/file/yCJCZM3dhqxeCDW8vVOq1fl5RQGP0K .
·
Saturday, 20 June 2020 15:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Arlex!
Maybe i should tell Component Anywhere developer about this?
Can you tell me what did you change?
Apparently your mod is not showing unexpected behavior.

Maybe i should also talk with the SP Page Builder developer about this
I have no idea what could be rising those problems...
·
Tuesday, 23 June 2020 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, you have to consult with these 2 developers regarding these issue :


0 Call to undefined method Joomla\CMS\Document\RawDocument::addCustomTag()
/home/magiaeng/public_html/ideaalab2017/plugins/system/componentsanywhere/src/Document.php:184

1. Report this above error to Component Anywhere developer.

Step to reproduce this :
1. Revert back the fix as what I shown you the screenshot in my previous reply
2. Temporary change your homepage template to Joomla Protostar template
3. Enable the debug mode from backend global configuration page
4. Access this link https://ideaalab.com/es/prediccion-matricula/?format=amp


2. Report this to SP Page Builder developer regarding the AMP error as what it shown on the Google AMP console test tool:

- https://search.google.com/test/amp?id=GkDOcRuclj8Eq4ouqV-IIA
- https://monosnap.com/file/s6tKLApzZ6AJyaFvIrXkrqKkZRs1nE
- https://monosnap.com/file/DanZCyMtJZZZkEkCy3VSy4dhTXUn4o
- https://monosnap.com/file/jATi5MNY3RPyRRFFd0rk4tRdhVUUTW

For example this blog post https://ideaalab.com/es/prediccion-matricula/ and AMP page https://ideaalab.com/es/prediccion-matricula/?format=amp , we will allow system to trigger 3rd party plugin to render their custom content for those pagebuilder tag.

{component index.php?option=com_sppagebuilder&view=page&id=33}
{component index.php?option=com_sppagebuilder&view=page&id=31}

But somehow these content is not compatible with the AMP standard, this is why it appear those warning message when you validate this AMP page in Google AMP console test tool.
·
Tuesday, 23 June 2020 11:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks! I will talk with them.
But dont expect that SP Page Builder developer to change this soon... so maybe i will have to turn off AMP to avoid problems.
Regards
·
Tuesday, 23 June 2020 15:36
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, keep us update then.
·
Tuesday, 23 June 2020 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post