Title: 404 Solution Plugin : Uncaught Error
Last modified: November 18, 2024

---

# 404 Solution Plugin : Uncaught Error

 *  Resolved [vanov](https://wordpress.org/support/users/iglaser/)
 * (@iglaser)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/)
 * Hi
 * I am getting the error below in the 404 Solution Plugin. I have been using it
   for a while now without a problem. It does seem to work properly so not sure 
   what the error actually is. Can anyone help?
 *     ```wp-block-code
       Error Details=============An error of type E_ERROR was caused in line 626 of the file /srv/htdocs/wp-content/plugins/404-solution/includes/PluginLogic.php. Error message: Uncaught Error: Undefined constant "ABJ404_TYPE_404_DISPLAYED" in /srv/htdocs/wp-content/plugins/404-solution/includes/PluginLogic.php:626Stack trace:#0 /srv/htdocs/wp-content/plugins/404-solution/includes/PluginLogic.php(410): ABJ_404_Solution_PluginLogic->getDefaultOptions()#1 /srv/htdocs/wp-content/plugins/404-solution/includes/PluginLogic.php(69): ABJ_404_Solution_PluginLogic->getOptions()#2 /srv/htdocs/wp-content/plugins/404-solution/includes/PluginLogic.php(125): ABJ_404_Solution_PluginLogic->userIsPluginAdmin()#3 /wordpress/core/6.7/wp-includes/class-wp-hook.php(324): ABJ_404_Solution_PluginLogic::override_user_can_access_admin_page(Array, Array, Array, Object(WP_User))#4 /wordpress/core/6.7/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)#5 /wordpress/core/6.7/wp-includes/class-wp-user.php(813): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User))#6 /wordpress/core/6.7/wp-includes/capabilities.php(1018): WP_User->has_cap('manage_options')#7 /wordpress/core/6.7/wp-includes/capabilities.php(911): user_can(Object(WP_User), 'manage_options')#8 /wordpress/plugins/page-optimize/0.5.6/settings.php(189): current_user_can('manage_options')#9 /wordpress/core/6.7/wp-includes/class-wp-hook.php(326): page_optimize_add_plugin_settings_link(Array, 'page-optimize/p...')#10 /wordpress/core/6.7/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)#11 /wordpress/plugins/jetpack/14.1-a.1/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php(399): apply_filters('plugin_action_l...', Array, 'page-optimize/p...', Array, 'all')#12 /wordpress/core/6.7/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Sync\Modules\Callables->set_plugin_action_links(Object(WP_Screen))#13 /wordpress/core/6.7/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#14 /wordpress/core/6.7/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#15 /wordpress/core/6.7/wp-admin/includes/class-wp-screen.php(424): do_action('current_screen', Object(WP_Screen))#16 /wordpress/core/6.7/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()#17 /wordpress/plugins/jetpack/14.1-a.1/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php(530): set_current_screen('sync')#18 /wordpress/plugins/jetpack/14.1-a.1/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php(632): Automattic\Jetpack\Sync\Sender->get_items_to_send(Object(Automattic\Jetpack\Sync\Queue_Buffer), true)#19 /wordpress/plugins/jetpack/14.1-a.1/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php(487): Automattic\Jetpack\Sync\Sender->do_sync_for_queue(Object(Automattic\Jetpack\Sync\Queue))#20 /wordpress/plugins/jetpack/14.1-a.1/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php(425): Automattic\Jetpack\Sync\Sender->do_sync_and_set_delays(Object(Automattic\Jetpack\Sync\Queue))#21 /wordpress/plugins/jetpack/14.1-a.1/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php(196): Automattic\Jetpack\Sync\Sender->do_dedicated_sync_and_exit()#22 /wordpress/core/6.7/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Sync\Actions::add_dedicated_sync_sender_init('')#23 /wordpress/core/6.7/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#24 /wordpress/core/6.7/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#25 /wordpress/core/6.7/wp-settings.php(704): do_action('init')#26 /srv/htdocs/wp-config.php(77): require_once('/wordpress/core...')#27 /wordpress/core/6.7/wp-load.php(55): require_once('/srv/htdocs/wp-...')#28 /wordpress/core/6.7/wp-blog-header.php(13): require_once('/wordpress/core...')#29 /wordpress/core/6.7/index.php(17): require('/wordpress/core...')#30 {main}  thrown
       ```
   

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18142967)
 * Hello,
   When did the problem first appear? What version are you using?Please try
   uninstalling it and reinstalling it.
 * thanks
 *  Thread Starter [vanov](https://wordpress.org/support/users/iglaser/)
 * (@iglaser)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18144557)
 * Hi Aaron. Thanks for your reply.
 * It first appeared about 5 or 6 days ago.
 * I was on 2.35.19 but have just updated to 2.35.20
 * I will see how that goes…
 * Cheers
 * Ivan
 *  [lancecarr](https://wordpress.org/support/users/lancecarr/)
 * (@lancecarr)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18145903)
 * I have been getting the exact same error message daily for the past week or so.
 * I just updated today to version 2.35.20 and an hour or so later WordPress kicked
   out the fatal error message again.
 * ———————————————–
 * Error Details
 * An error of type E_ERROR was caused in line 626 of the file /home/**cPanel Account
   Name redacted**/public_html/wp-content/plugins/404-solution/includes/PluginLogic.
   php. Error message: Uncaught Error: Undefined constant “ABJ404_TYPE_404_DISPLAYED”
   in /home/**cPanel Account Name redacted**/public_html/wp-content/plugins/404-
   solution/includes/PluginLogic.php:626
   Stack trace: 0 /home/**cPanel Account Name
   redacted**/public_html/wp-content/plugins/404-solution/includes/PluginLogic.php(
   410): ABJ_404_Solution_PluginLogic->getDefaultOptions() 1 /home/**cPanel Account
   Name redacted**/public_html/wp-content/plugins/404-solution/includes/PluginLogic.
   php(69): ABJ_404_Solution_PluginLogic->getOptions() 2 /home/**cPanel Account 
   Name redacted**/public_html/wp-content/plugins/404-solution/includes/PluginLogic.
   php(125): ABJ_404_Solution_PluginLogic->userIsPluginAdmin() 3 /home/**cPanel 
   Account Name redacted**/public_html/wp-includes/class-wp-hook.php(324): ABJ_404_Solution_PluginLogic::
   override_user_can_access_admin_page() 4 /home/**cPanel Account Name redacted**/
   public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 5 /home/**cPanel
   Account Name redacted**/public_html/wp-includes/class-wp-user.php(813): apply_filters()
   6 /home/**cPanel Account Name redacted**/public_html/wp-includes/capabilities.
   php(1018): WP_User->has_cap() 7 /home/**cPanel Account Name redacted**/public_html/
   wp-includes/capabilities.php(911): user_can() 8 /home/**cPanel Account Name redacted**/
   public_html/wp-content/plugins/accelerated-mobile-pages/accelerated-moblie-pages.
   php(1475): current_user_can() 9 /home/**cPanel Account Name redacted**/public_html/
   wp-includes/class-wp-hook.php(324): ampforwp_replace_redux_comments() 10 /home/**
   cPanel Account Name redacted**/public_html/wp-includes/class-wp-hook.php(348):
   WP_Hook->apply_filters() 11 /home/**cPanel Account Name redacted**/public_html/
   wp-includes/plugin.php(517): WP_Hook->do_action() 12 /home/**cPanel Account Name
   redacted**/public_html/wp-admin/includes/class-wp-screen.php(424): do_action()
   13 /home/**cPanel Account Name redacted**/public_html/wp-admin/includes/screen.
   php(243): WP_Screen->set_current_screen() 14 /home/**cPanel Account Name redacted**/
   public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/
   src/class-sender.php(530): set_current_screen() 15 /home/**cPanel Account Name
   redacted**/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-
   sync/src/class-sender.php(632): Automattic\Jetpack\Sync\Sender->get_items_to_send()
   16 /home/**cPanel Account Name redacted**/public_html/wp-content/plugins/jetpack/
   jetpack_vendor/automattic/jetpack-sync/src/class-sender.php(487): Automattic\
   Jetpack\Sync\Sender->do_sync_for_queue() 17 /home/**cPanel Account Name redacted**/
   public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/
   src/class-sender.php(362): Automattic\Jetpack\Sync\Sender->do_sync_and_set_delays()
   18 /home/**cPanel Account Name redacted**/public_html/wp-content/plugins/jetpack/
   jetpack_vendor/automattic/jetpack-sync/src/class-actions.php(748): Automattic\
   Jetpack\Sync\Sender->do_sync() 19 /home/**cPanel Account Name redacted**/public_html/
   wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-actions.
   php(688): Automattic\Jetpack\Sync\Actions::do_cron_sync_by_type() 20 /home/**
   cPanel Account Name redacted**/public_html/wp-includes/class-wp-hook.php(324):
   Automattic\Jetpack\Sync\Actions::do_cron_sync() 21 /home/**cPanel Account Name
   redacted**/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
   22 /home/**cPanel Account Name redacted**/public_html/wp-includes/plugin.php(
   565): WP_Hook->do_action() 23 /home/**cPanel Account Name redacted**/public_html/
   wp-cron.php(191): do_action_ref_array() 24 {main} thrown
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18146159)
 * I’ve tried to fix this in version 2.35.21.
 * Let me know how it goes.
 * thanks
 *  Thread Starter [vanov](https://wordpress.org/support/users/iglaser/)
 * (@iglaser)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18147214)
 * Hi Aaron
 * Thank you. I didnt get an error message last night 🙂
 * Cheers
 * Ivan
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18147898)
 * Sorry for all the issues. Please let me know if it happens again with the version(
   2.35.22).
 * thanks
 *  Thread Starter [vanov](https://wordpress.org/support/users/iglaser/)
 * (@iglaser)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18150169)
 * Seems to be good for me on .21 but have updated to .23 now
 * Cheers
 *  [lancecarr](https://wordpress.org/support/users/lancecarr/)
 * (@lancecarr)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18150489)
 * Hi Aaron, well 24hrs now since the last update and no warning from WordPress 
   so I think it’s under control.
 * Thanks for the plugin and thanks for fixing it!
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18159139)
 * I think that issue has been solved.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘404 Solution Plugin : Uncaught Error’ is closed to new replies.

 * ![](https://ps.w.org/404-solution/assets/icon-256x256.jpg?rev=1610739)
 * [404 Solution](https://wordpress.org/plugins/404-solution/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/404-solution/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/404-solution/)
 * [Active Topics](https://wordpress.org/support/plugin/404-solution/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404-solution/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404-solution/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [Aaron](https://wordpress.org/support/users/aaron13100/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/404-solution-plugin-uncaught-error/#post-18159139)
 * Status: resolved