500 xxx error, paired url structure, featured images not showing
-
Hello,
I am having multiple issues after installing the AMP Plugin. I’ve exhausted all options and was told to contact the plugin’s support.
Here are the errors I’m receiving:
1. 500 xxx error – I am getting this error on all on the AMP articles. I contacted my hosting company and they said they couldn’t do anything for me because it’s not a server issue. Here is what they were able to provide me when they investigated my issue:
[18-May-2021 13:28:03 UTC] PHP Fatal error: Uncaught Error: Call to a member function hasAttribute() on null in /home1/unheardv/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php:561
Stack trace:
#0 /home1/unheardv/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php(468): AmpProject\\Dom\\Document->loadHTMLFragment(‘<!DOCTYPE html>…’, Array)
#1 /home1/unheardv/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php(369): AmpProject\\Dom\\Document->loadHTML(‘<!DOCTYPE html>…’, Array)
#2 /home1/unheardv/public_html/wp-content/plugins/amp/includes/class-amp-theme-support.php(1881): AmpProject\\Dom\\Document::fromHtml(‘<!DOCTYPE html>…’, Array)
#3 /home1/unheardv/public_html/wp-content/plugins/amp/includes/class-amp-theme-support.php(1655): AMP_Theme_Support::prepare_response(‘<!DOCTYPE html>…’)
#4 [internal function]: AMP_Theme_Support::finish_output_buffering(‘<!DOCTYPE html>…’, 9)
#5 /home1/unheardv/public_html/wp-includes/functions.php(4757): ob_end_f in /home1/unheardv/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php on line 561\n”, 1187) = 11872. Paired url error:
I am getting this message after installing the plugin : “There is a post, term, user, or some other entity that is already using the “amp” URL slug. For this reason, you cannot currently use the path suffix or legacy reader paired URL structures.”I cannot find anywhere where this slug was used.
3. Featured images are not being pulled in and menu is messed up on all amp articles. Here is an example:
https://www.unheardvoicesmag.com/2021/05/19/in-memoriam-paul-mooney-1941-2021/?amp=1Any help to fix these issues is greatly appreciated.
The page I need help with: [log in to see the link]
- The topic ‘500 xxx error, paired url structure, featured images not showing’ is closed to new replies.