500 Error loading plugin page
-
After installing this plugin, attempting to visit the “configure redirects” page (wp-admin/options-general.php?page=eps_redirects) results in a 500 error. Any ideas?
-
PHP error log, with stack trace:
`
[22-Jan-2020 14:37:39 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 536576 bytes) in /Users/erik/Local Sites/schweitzer/app/public/wp-includes/functions.php on line 4552
[22-Jan-2020 14:37:39 UTC] PHP Stack trace:
[22-Jan-2020 14:37:39 UTC] PHP 1. {main}() /Users/erik/Local Sites/schweitzer/app/public/wp-admin/options-general.php:0
[22-Jan-2020 14:37:39 UTC] PHP 2. require_once() /Users/erik/Local Sites/schweitzer/app/public/wp-admin/options-general.php:10
[22-Jan-2020 14:37:39 UTC] PHP 3. do_action() /Users/erik/Local Sites/schweitzer/app/public/wp-admin/admin.php:254
[22-Jan-2020 14:37:39 UTC] PHP 4. WP_Hook->do_action() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/plugin.php:478
[22-Jan-2020 14:37:39 UTC] PHP 5. WP_Hook->apply_filters() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-hook.php:312
[22-Jan-2020 14:37:39 UTC] PHP 6. EPS_Redirects_Plugin_Options->do_admin_page() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-hook.php:288
[22-Jan-2020 14:37:39 UTC] PHP 7. EPS_Redirects_Plugin_Options->get_tab() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/libs/eps-plugin-options.php:278
[22-Jan-2020 14:37:39 UTC] PHP 8. do_action() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/libs/eps-plugin-options.php:321
[22-Jan-2020 14:37:39 UTC] PHP 9. WP_Hook->do_action() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/plugin.php:478
[22-Jan-2020 14:37:39 UTC] PHP 10. WP_Hook->apply_filters() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-hook.php:312
[22-Jan-2020 14:37:39 UTC] PHP 11. EPS_Redirects_Plugin->admin_tab_redirects() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-hook.php:288
[22-Jan-2020 14:37:39 UTC] PHP 12. include() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/plugin.php:564
[22-Jan-2020 14:37:39 UTC] PHP 13. EPS_Redirects::get_inline_edit_entry() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/templates/admin-tab-redirects.php:37
[22-Jan-2020 14:37:39 UTC] PHP 14. include() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/eps-301-redirects.php:505
[22-Jan-2020 14:37:39 UTC] PHP 15. include() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/templates/template.redirect-entry-edit-inline.php:23
[22-Jan-2020 14:37:39 UTC] PHP 16. eps_get_selector() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/templates/template.redirect-entry-edit.php:33
[22-Jan-2020 14:37:39 UTC] PHP 17. eps_get_post_type_selects() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/eps-form-elements.php:46
[22-Jan-2020 14:37:39 UTC] PHP 18. eps_dropdown_pages() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/eps-form-elements.php:155
[22-Jan-2020 14:37:39 UTC] PHP 19. get_posts() /Users/erik/Local Sites/schweitzer/app/public/wp-content/plugins/eps-301-redirects/class.drop-down-pages.php:44
[22-Jan-2020 14:37:39 UTC] PHP 20. WP_Query->query() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/post.php:2039
[22-Jan-2020 14:37:39 UTC] PHP 21. WP_Query->get_posts() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-query.php:3413
[22-Jan-2020 14:37:39 UTC] PHP 22. array_map() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-query.php:3011
[22-Jan-2020 14:37:39 UTC] PHP 23. get_post() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-query.php:3011
[22-Jan-2020 14:37:39 UTC] PHP 24. shutdown_action_hook() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/load.php:0
[22-Jan-2020 14:37:39 UTC] PHP 25. do_action() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/load.php:947
[22-Jan-2020 14:37:39 UTC] PHP 26. WP_Hook->do_action() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/plugin.php:478
[22-Jan-2020 14:37:39 UTC] PHP 27. WP_Hook->apply_filters() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-hook.php:312
[22-Jan-2020 14:37:39 UTC] PHP 28. wp_ob_end_flush_all() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/class-wp-hook.php:288
[22-Jan-2020 14:37:39 UTC] PHP 29. ob_end_flush() /Users/erik/Local Sites/schweitzer/app/public/wp-includes/functions.php:4552
`
Is this your first time installing the plugin? Or did you maybe import a large number of redirect rules?
If the answer to both is “no” do you then have a large number of posts, pages or categories on the site?
Hi,
The plugin was previously installed by another developer. When I re-installed and activated it, I got the 500 error. (Note, this is only on the plugin options page). I deleted the table the plugin was using in the database and reactivated, but that didn’t work.
It’s an e-commerce site with a reasonably large number of Woocommerce products.
The only reason I can think of for using out all the memory is too many products. But I really don’t recall anybody every getting this and people had tens of thousands of posts 🙁
PHP on the site is v7.x?
- The topic ‘500 Error loading plugin page’ is closed to new replies.