Critical error
-
At the bottom of all AMP pages on my site, the following message appears: “There is a critical error on your site. Learn more about how to troubleshoot WordPress issues.” I have already uninstalled all plugins to test and the error persists.
The page I need help with: [log in to see the link]
-
Hello @dyhego
Thanks for reaching out to us! To help you out faster, could you share your support UUID? This will let us look into your site’s specific setup and give you the best possible assistance.
Meanwhile, you might find this video helpful:
https://www.youtube.com/watch?v=wXoHwRvYsW8https://www.youtube.com/watch?v=wXoHwRvYsW8Please let me know if you have any other questions.
Hello, when I try to click on “send data”, I get the error:
There is a critical error on your site.
Learn more about how to troubleshoot WordPress.
. I can’t generate the UUID. I attached a printout so you can see the error.Hey @dyhego
That’s a bummer! It seems the error might be impacting your site scan as well.
To help us diagnose the issue, could you take a look at your website’s PHP error logs? These logs might contain details about the problem.
If you’re not sure how to access the error logs, don’t worry! Just reach out to your hosting provider. They can usually point you in the right direction or even provide you with the logs themselves.
Once you have the error messages, please share them with us! You can either paste them into a Google Doc or use a service like Gist to share them securely.
I noticed some errors like this:
[proxy_fcgi:error?[pid 2550164:tid 2550281?[client 66.249.79.33:0?AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “ampbanner1_code” in /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-c…………p(485): include(‘/home/1069532.c…’)\n#4 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(238): AMP_Post_Template->verify_and_include()\n#5 /home/1069532.cloudwaysapps.c…’
Also follows an image of the problems
More error details:
Warning: Undefined array key “ampbanner1_code” in?/home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/jbaspark-master/functions-amp.php?on line?92
lang=”pt-BR”>—
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “jba_amp_analytics” not found or invalid function name in /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/class-wp-hook.php:324 Stack trace: #0 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #1 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/templates/html-end.php(31): do_action() #3 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(485): include(‘/home/1069532.c…’) #4 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(238): AMP_Post_Template->verify_and_include() #5 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/templates/single.php(62): AMP_Post_Template->load_parts() #6 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(485): include(‘/home/1069532.c…’) #7 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(238): AMP_Post_Template->verify_and_include() #8 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(227): AMP_Post_Template->load_parts() #9 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/reader-template-loader.php(36): AMP_Post_Template->load() #10 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/template-loader.php(106): include(‘/home/1069532.c…’) #11 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-blog-header.php(19): require_once(‘/home/1069532.c…’) #12 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/index.php(17): require(‘/home/1069532.c…’) #13 {main} thrown in /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/class-wp-hook.php on line 324
Há um erro crítico no seu site.I activated debug mode, access the URL and see the problem: https://www.diarioceleste.com.br/noticias-do-cruzeiro/ingressos-final-copa-sul-americana-2024/amp/
Hello @dyhego
Thank you for getting back to us with error logs, it seems plugin
jbaspark-master
is causing the issues on AMP pages, can you please deactivate the plugin and check if it’s working for you without errors?In case the jbaspark plugin is causing issues, I will recommend reaching out to their support and getting those errors fixed
We hope this helps you!
Hello, I disabled the JetPack plugin, but the AMP pages still have an error, at the top the following error appeared:
Warning: Undefined array key “ampbanner1_code” in /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/jbaspark-master/functions-amp.php on line 92
lang=”pt-BR”>And in the footer it appears:
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “jba_amp_analytics” not found or invalid function name in /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/class-wp-hook.php:324 Stack trace: #0 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #1 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/templates/html-end.php(31): do_action() #3 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(485): include(‘/home/1069532.c…’) #4 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(238): AMP_Post_Template->verify_and_include() #5 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/templates/single.php(62): AMP_Post_Template->load_parts() #6 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(485): include(‘/home/1069532.c…’) #7 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(238): AMP_Post_Template->verify_and_include() #8 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(227): AMP_Post_Template->load_parts() #9 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-content/plugins/amp/includes/templates/reader-template-loader.php(36): AMP_Post_Template->load() #10 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/template-loader.php(106): include(‘/home/1069532.c…’) #11 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-blog-header.php(19): require_once(‘/home/1069532.c…’) #12 /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/index.php(17): require(‘/home/1069532.c…’) #13 {main} thrown in /home/1069532.cloudwaysapps.com/ppmwvshzyn/public_html/wp-includes/class-wp-hook.php on line 324
There is a critical error on your site.I tested deactivating all plugins on my site, but the error still persists.
Hello @dyhego
Sorry for the delayed response, it appears that you deactivated the jetpack plugin, the “jba spark” is a different plugin which is located on
/public_html/wp-content/plugins/jbaspark-master/
path can you please check if you can deactivate it.@dyhego As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.
- You must be logged in to reply to this topic.