HTTP ERROR 500 After Updating
-
I have just updated this plugin, but now every time I try to activate it, I get HTTP ERROR 500 in /wp-admin/. What can I do?
The page I need help with: [log in to see the link]
-
I’m also getting a 500 server error when trying to access the site admin after updating. Turns out that there’s a conflict with https://www.ads-software.com/plugins/give/ which my sites were running into. I also believe the issue could be specific to PHP 7.x (a matter of the number of variables provided to a function vs. what was expected).
I’ve opted to disable AMP to avoid this error until this is fixed since Give is more important to the site than AMP is.
Are you using Give and/or PHP 7.x?
As an aside, I’ve also mentioned this issue on the Give support forum at: https://www.ads-software.com/support/topic/plugin-conflict-amp-currently-creates-500-server-error-when-viewing-wp-admin/
-
This reply was modified 6 years, 3 months ago by
KZeni.
Thank you! I deactivated Give and now it works.
Happy to help!
I’m not sure if I’d mark this as resolved, though, as it’s potentially a plugin conflict which might be addressed on AMP’s side of things, and the only known “resolution” right now either disables all of the donation functionality of a site or has it so this plugin simply is not being used which is not really a suitable resolution for most.
As such, I’ve posted this on GitHub at https://github.com/ampproject/amp-wp/issues/1720 to have this still called out & hopefully resolved.
Same here.
[11-Dec-2018 15:24:30 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function AMP_Validated_URL_Post_Type::filter_the_title_in_post_list_table(), 1 passed in /var/www/vhosts/site.com/httpdocs/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/amp/includes/validation/class-amp-validated-url-post-type.php:1897
Stack trace:
#0 /var/www/vhosts/site.com/httpdocs/wp-includes/class-wp-hook.php(286): AMP_Validated_URL_Post_Type::filter_the_title_in_post_list_table(‘#20SECONDS’)
#1 /var/www/vhosts/site.com/httpdocs/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘#20SECONDS’, Array)
#2 /var/www/vhosts/site.com/httpdocs/wp-content/plugins/give/includes/admin/shortcodes/abstract-shortcode-generator.php(301): apply_filters(‘the_title’, ‘#20SECONDS’)
#3 /var/www/vhosts/site.com/httpdocs/wp-content/plugins/give/includes/admin/shortcodes/abstract-shortcode-generator.php(153): Give_Shortcode_Generator->generate_post(Array)
#4 /va in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/amp/includes/validation/class-amp-validated-url-post-type.php on line 1897Alrighty. I’ve found a quick patch which prevents the error within the AMP plugin if/when too few arguments are provided while still honoring if/when that additional argument is provided.
Pull request is here with the proposed patch: https://github.com/ampproject/amp-wp/pull/1725
PR has been merged! Build of plugin with fix: https://github.com/ampproject/amp-wp/pull/1726#issuecomment-446396093
Thanks!
Hi.
I hope someone could help explaining why i get this error has access, when trying to open a submenu om My website.“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.”
Where is this submenu located at on your site? The issue being discussed here was specifically when accessing any part of the site admin (/wp-admin/). If your issue is occurring at a different location on your site then it’s likely that you have a separate issue, and that would then require a separate support forum topic to be discussed properly. If it is the /wp-admin/ that’s having the issue, then you may want to try the amp.zip download located at https://github.com/ampproject/amp-wp/pull/1726#issuecomment-446396093 which includes the patch discussed above until AMP 1.0.1 is officially released with the fix.
As an aside, try enabling WP_DEBUG (https://codex.www.ads-software.com/Debugging_in_WordPress#WP_DEBUG) to see if it provides any additional information regarding the issue. Currently, just stating there’s a 500 error with the standard messaging could have it being caused by any number of things which should be narrowed down further (typically by looking checking the debug output).
hey everyone please i updated my wordpress to the new 5.03 update over night my website entered maintenance mode so i decided to check on it the next day and when i tried to access the site it kept giving me a http 500 error on all platforms i cant access the website nor the admin area, any sort of help will be appreciated, the website is willgists.gq
@starboy1000 please open a new support topic and share details about the error, either from the error log or by turning on WP_DEBUG.
-
This reply was modified 6 years, 3 months ago by
- The topic ‘HTTP ERROR 500 After Updating’ is closed to new replies.