Hello and thank you for your great plugin.
It works great but we get this error in our staging and live site.
]]>2024/11/19 18:12:36 [error] 3564370#3564370: *2487116 FastCGI sent in stderr: "PHP message: WordPress database error Column 'requested_url' cannot be null for query insert into
wp_abj404_logsv2
(timestamp
,user_ip
,referrer
,dest_url
,requested_url
,requested_url_detail
,username
,min_log_id
) values ('1732032756', '185.201.254.58naimal7pc0', null, '404', null, null, '2', true) made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, abj404_404listener, ABJ_404_Solution_WordPress_Connector->process404, ABJ_404_Solution_DataAccess->logRedirectHit, ABJ_404_Solution_DataAccess->insertAndGetResults, ABJ_404_Solution_DataAccess->queryAndGetResults" while reading response header from upstream, client: 185.201.254.142, server: sttop.gr, request: "HEAD /docs/%CE%B1%CF%83%CF%86%CE%AC%CE HTTP/1.1", upstream: "fastcgi://unix:/home/sttopgr1/.php-fpm/live.sock:", host: "sttop.gr"
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?
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:626
Stack 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
]]>
I upgraded to newest version and I’m getting this error:
Warning: Undefined array key 0 in /usr/www/users/public_html/wp-content/plugins/404-solution/includes/DatabaseUpgradesEtc.php on line 529
Fatal error: Uncaught TypeError: array_change_key_case(): Argument #1 ($array) must be of type array, null given in /usr/www/users/public_html/wp-content/plugins/404-solution/includes/DatabaseUpgradesEtc.php:530 Stack trace: #0 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/DatabaseUpgradesEtc.php(530): array_change_key_case() #1 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/DatabaseUpgradesEtc.php(56): ABJ_404_Solution_DatabaseUpgradesEtc->correctCollations() #2 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/DatabaseUpgradesEtc.php(41): ABJ_404_Solution_DatabaseUpgradesEtc->reallyCreateDatabaseTables() #3 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/PluginLogic.php(496): ABJ_404_Solution_DatabaseUpgradesEtc->createDatabaseTables() #4 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/PluginLogic.php(456): ABJ_404_Solution_PluginLogic->updateToNewVersionAction() #5 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/PluginLogic.php(426): ABJ_404_Solution_PluginLogic->updateToNewVersion() #6 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/SpellChecker.php(27): ABJ_404_Solution_PluginLogic->getOptions() #7 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/SpellChecker.php(43): ABJ_404_Solution_SpellChecker::getInstance() #8 /usr/www/users/public_html/wp-content/plugins/404-solution/includes/Loader.php(51): ABJ_404_Solution_SpellChecker::init() #9 /usr/www/users/public_html/wp-content/plugins/404-solution/404-solution.php(76): require_once('/usr/www/users/...') #10 /usr/www/users/public_html/wp-settings.php(522): include_once('/usr/www/users/...') #11 /usr/www/users/public_html/wp-config.php(99): require_once('/usr/www/users/...') #12 /usr/www/users/public_html/wp-load.php(50): require_once('/usr/www/users/...') #13 /usr/www/users/public_html/wp-admin/admin.php(34): require_once('/usr/www/users/...') #14 /usr/www/users/public_html/wp-admin/plugins.php(10): require_once('/usr/www/users/...') #15 {main} thrown in /usr/www/users/public_html/wp-content/plugins/404-solution/includes/DatabaseUpgradesEtc.php on line 530
]]>
In my logs I see a ton of these Ips (300+ of these after 30 min after installing)
They look like
52.138.200.7rqu9pqpq9j0
Where there are a series of letters and numbers after the IP
Thanks!
]]>Don’t work correctly “Files and Folders Ignore Strings – Do Not Process”. Previously, when the wp-content/plugins/* address was in this section, errors related to it were not displayed in “Captured 404 URLs” – “Captured URLs”, but now they are displayed! Previously, if you specified in “Files and Folders Ignore Strings – Do Not Process” to ignore *.sql errors, they were not displayed in the statistics on the second tab, but now they are constantly displayed there in “Captured 404 URLs” – “Captured URLs”! Make it like before, what is specified in “Files and Folders Ignore Strings – Do Not Process” should not appear in the second tab “Captured 404 URLs” – “Captured URLs”.
]]>I’ve noticed a warning in the error_log – this one tripped about 15000 times in the past 9 hours and goes back possibly to the update I did on May 28, or further.
[10-Jul-2024 02:56:17 UTC] PHP Warning: Undefined array key 4039 in /home/abcdef/public_html/wp-content/plugins/404-solution/includes/SpellChecker.php on line 811
The key changes but everything else is the same.
WP 6.4.x
PHP 8.1 EA
404 Solutions 2.35.9
line 811 is: if (is_array($minDistances[$minDist])) {
I went to the plugin’s debug log and it threw a critical error.
“GET /wp-admin/options-general.php?page=abj404_solution&subpage=abj404_debugfile HTTP/2” 500
I switched to PHP 8.0. & 7.4 and the 404 Solutions debug page is blank.
I found the log here https://www.<<>>/wp-content/uploads/temp_abj404_solution/abj404_debug.txt
But despite edit timestamp being today, the last row is from November 2023:
2023-11-03 11:41:47 AEDT (INFO): deleteOldRedirectsCron. Old captured URLs removed: 22, Old automatic redirects removed: 0, Old manual redirects removed: 0, Old log lines removed: 0, New log size: 100.03MB, Duplicate rows deleted: 0, Debug file size limited: false, Admin email notification option turned off., Permlink cache rows updated: 0, User initiated: false
Thanks for you plugin, it’s been very useful. Any idea about this one?
]]>Hello friend,
Sometimes I notice the following error message, and it seems to me that it is caused by the multiple connections that 404 Solutions makes to the Databases.
[02-Jul-2024 13:12:38 UTC] PHP Warning: mysqli_real_connect(): (HY000/1203): User yosiga_NljdIjoq already has more than ‘max_user_connections’ active connections in /home2/yosiga/public_html/wp-includes/class-wpdb.php on line 1987
[02-Jul-2024 13:12:38 UTC] PHP Warning: mysqli_real_connect(): (HY000/1203): User yosiga_NljdIjoq already has more than ‘max_user_connections’ active connections in /home2/yosiga/public_html/wp-includes/class-wpdb.php on line 1987
[02-Jul-2024 13:12:42 UTC] PHP Warning: mysqli_real_connect(): (HY000/1203): User yosiga_NljdIjoq already has more than ‘max_user_connections’ active connections in /home2/yosiga/public_html/wp-includes/class-wpdb.php on line 1987
[02-Jul-2024 13:12:42 UTC] PHP Warning: mysqli_real_connect(): (HY000/1203): User yosiga_NljdIjoq already has more than ‘max_user_connections’ active connections in /home2/yosiga/public_html/wp-includes/class-wpdb.php on line 1987
[02-Jul-2024 13:12:42 UTC] PHP Warning: mysqli_real_connect(): (HY000/1203): User yosiga_NljdIjoq already has more than ‘max_user_connections’ active connections in /home2/yosiga/public_html/wp-includes/class-wpdb.php on line 1987
[02-Jul-2024 13:12:44 UTC] PHP Warning: mysqli_real_connect(): (HY000/1203): User yosiga_NljdIjoq already has more than ‘max_user_connections’ active connections in /home2/yosiga/public_html/wp-includes/class-wpdb.php on line 1987
This doesn’t happen all the time, but it does sometimes. It would be interesting to know from your point of view what we can do, perhaps it is due to some configuration in the 404 solutions plugin.
Best regards
Luis
Hi , your plugin works great but i’ve noticed two large database tables directly connected with “404 solution”:
wp_abj404_redirects ( Rows: 1,112,091 Size: 502.17MB)
wp_abj404_spelling_cache (Rows: 217,691 Size: 88.42MB)
Can i delete those directly?
BR S.K.
]]>Entered into Destination URL on 404 redirect
https://website.com/product/product1/?ref=8343&cmp=dt-test
this is the URL that appears on the destination website. The ampersand symbol has been replaed with the semicolon
https://website.com/product/product1/?ref=8343#038;cmp=dt-test
Hi…!
I’m probably doing something wrong but I put in a manual redirect to point old-school homepage links to the real homepage. It’s a 301 set up in 404 Solution. as you can see it’s still just going to the generic 404 page. is there some setting I might’ve goofed up?
]]>Hi there,
I was wondering what the “ignore url” setting does in the 404 plugin. I tested it with a bogus url, but it still shows up in the captured url view.
is there a way to mark urls as to be ignored so that they don’t keep showing up in the captured urls view?
Thanks!
]]>Hi,
The plugin creates table wp_abj404_logsv2 as MyISAM.
Converting the table to InnoDB results in the plugin recreating the table as MyISAM. Is there any reason why the table cannot be saved in the database with the innobd engine?
Thanks
]]>Hello,
This plugin redirects a custom post-type page to the same page and creates a redirection loop.
This page (/brand-category/travel-holiday-deals/travel-esim-deals/) has been auto-redirected to this page (/brand-category/travel-holiday-deals/travel-esim-deals/). I have even tried to delete this redirection manually. Every time I visit the page, it keeps redirecting it again. I can’t fix this issue.
Thank you.
]]>Hi Aron,
I’d like to install your 404-page plugin since the one I was using, “Smart Custom 404 error page [404page],” has been discontinued, and there won’t be any further updates. My website is built with the Elementor free version, and before using your plugin, I want to confirm its compatibility with Elementor and the Hello theme. It’s important to note that I won’t be using WP Gutenberg or Full Site Editing, as making this switch, even on just a single page, can cause design issues. Can you please advise if I can use your plugin while utilizing the Elementor page builder to edit the 404 page I’ll create with it? Thanks.
Silvia
]]>Hello, is there a way to manually exempt a URL from being redirected as one of the URLS being redirected are preening push notification from working properly on the onesignal plugin.
Thank you
Dmitry
]]>Hi,
I just did a couple of plugin and theme upgrades, and Wordfence doesnt seem to enoy that 404 Solution is installed.
Link to Wordfence vulnerability page:
]]>Native search Result showing Home Page! What to do?
]]>I don’t understand why this is happening. There is a page called About Us. It has no tags for it. It contains a link to a PDF file for the “Accessible Techcomm promotional brochure“. The PDF file doesn’t have any tags. I started getting 404s for this PDF file with a few tags that I just redirected to the About Us page. But I just realized that there are no tags for that page. The 404s are piling up and are now over 304 individual hits. And now I’m also getting them for categories. A list of sample 404 captures is at https://accessible-techcomm.org/strange-tag-related-404s.txt
]]>HI,
Firstly I want to say that I think my issue derives from user error rather than your plugin, but there is a caveat to that below. I have been having a very odd issue with my site for a few months now that involves 404 errors, so a few weeks ago I found your plugin and thought it might help in terms of the users although not solving the underlying issue, so I installed it and created a custom 404 page. Unfortunately, although it did what it was supposed to, it didn’t help (not the fault of the plugin) so I deactivated and deleted it. At this point is the caveat – I don’t know if I didn’t spot it, or it wasn’t there, but I recently discovered several files and database tables related to the plugin still there that should have been deleted, so is there an option to delete all this stuff in the settings?
This leads me on to why the above might be important – the custom 404 page I created, while it is still in my list of pages (I kept it for possible future use), should not appear any more, but it is, so is there some file I have missed, or some alteration made to a WordPress, theme or other file that is still calling the custom page? I don’t really want to reinstall the plugin if there is not an option to get rid of all the stuff it installs when deleted, but the screenshots you provide don’t show whether that is there or not, so if the option is there I can reinstall, check the option, then uninstall, but if it is not I need your help to find and eliminate all traces of the plugin, whether that is a list of places and file names or something else. Ideally all plugins should, by default, delete everything they install when deleted, with an option to keep stuff, rather than the way so many do of leaving stuff behind by default. As I say, this might be that I just missed the option to delete everything, so I am not (necessarily) criticising your plugin. I hope you can help.
]]>I have an old website with very good seo that the customer doesn’t want to change, so we have redirected all categories from the old site to the new and it works perfect.
The problem is that i can not redirect the products. Is there a way to redirect automatically all the product’s to there new link’s or to somehow do something similar?
Thanks! ??
How do I delete 404 Solution Logs. I have more than 57000 from March this year.
]]>Hello,
I just received this email from WordPress:
WordPress has a native feature to detect if a plugin or theme is causing a fatal error on your site, and notifies you with this automatic email.
Here WordPress found an error with one of your plugins, “404 Solution”.
Start by visiting your site to check if there are any visible problems and check if any problems are visible.
Please contact your host for assistance with resolving this issue.
If your site seems broken or you can’t access your dashboard normally, WordPress now has a “recovery mode”. This allows you to securely log into your dashboard to find the source of the problem.
]]>Hi, I got this warning:
Warning: Attempt to read property “comments_pagination_base” on null in?/home/thinkdig/public_html/**domain**/wp-content/plugins/404-solution/includes/php/objs/UserRequest.php?on line?103
after updating the plugin ??
The plugin works great, but we have a need to allow users other than admins to have access. You are currently hardcoding the current_user_can(‘administrator’) throughout to manage access.
Could this be changed to a custom capability so that people could allow for non admins to be given access?
Hi, I’m new to this plugin.
I see a lot of captured 404 urls (I included link to this) that make no sense to me in terms of my web pages that I deleted or changed names of. Should I “mark as ignored” or move to trash?
What exactly does mark as ignored and move to trash do? When should one use those options and why?
Thank you
]]>On Tue, Apr 11, 2023 at 4:01?AM www.remarpro.com Forums <[email protected]> wrote:
]]>aarnott wrote:
Thanks. I haven’t been able to find a friendly editor of the 404 page for this or other themes. So I’m doing it in the Theme File Editor. The WordPress docs list this as one of several ways to add shortcodes, so it seems like it ought to work.
In fact when I look at my live 404 page ( https://blog.nerdbank.net/2009/10/vs2008-project-template-for-openid-and.html ), it kinda does, because I see this HTML in the place of the shortcode:
So I guess the question is, given it’s a 404, why doesn’t it recognize it as such?
Hi Aaron,
I have recently got a error from the plugin –
on the homepage – it started showing :”there has been a critical error on the website” and it seems that the plugin have some php error handling issues. WordPress sent me a email with the error details. when I deactivated the plugin the site went back to normal.
do you have any fix for this, since the plugin is very important for the website.
Error Details
=============
An error of type E_ERROR was caused in line 29 of the file
html/wp-content/plugins/404-solution/includes/ErrorHandler.php. Error message: Uncaught Error: Class “ABJ_404_Solution_Logging” not found in html/wp-content/plugins/404-solution/includes/ErrorHandler.php:29
Stack trace:
#0 html/wp-content/plugins/404-solution/404-solution.php(61): ABJ_404_Solution_ErrorHandler::NormalErrorHandler()
#1 html/wp-content/plugins/404-solution/404-solution.php(61): require_once()
#2 html/wp-content/plugins/404-solution/includes/WordPress_Connector.php(476): abj404_autoloader()
#3 html/wp-includes/class-wp-hook.php(308): ABJ_404_Solution_WordPress_Connector::addMainSettingsPageLink()
thrown
PHP version we are using is – PHP version 8.1.2
I hope you can help regarding the issue
]]>Hello. You have made a wonderful plugin, thank you. But for some reason, all sites are accumulated url and after a month their number becomes huge.
https://dl.dropboxusercontent.com/s/daon8erpwfsw7hg/chrome_8RvL5sp46U.jpg
]]>This seems like an exhaustive 404 plugin, every option needed and then some. The one thing I need to do is disable logs. I don’t need a record of Page Redirects nor Captured 404 URLs. Those are extraneous details that serve us no purpose and consume space. If they clear after 24 hours, that is fine. I can’t determine by a study how this is accomplished. Thanks!
]]>I was having a failure with ‘file_exists()’ in ‘readFileContents()’ in ‘404-solution/includes/Functions.php’.
Took awhile to eliminate it down to the fact that Pantheon.io does not seem to like to push files with extension ‘.sql’ upstream. The plugin was working in the Dev environment, but error-ing out in the Test and Live since the ‘.sql’ files do not exist in those.
My temporary patch is to rename the files to ‘.txt’ extension. I also duplicated the whole directory to keep the original in place.
I hade to replace ‘sql’ with ‘txt’ in the places below. Note: Pantheon does not have an issue with the ‘sql’ folder name. So if the developer decides to change extension to ‘.txt’ or other safe extension, that can remain the same.
Hope this helps someone / and the developer may want to use a free sandbox account to verify failures / fixes.
duplicated original files/folder with ‘txt’ folder and ‘.txt’ extensions
404-solution/includes/txt/***.txt
replaced sql with txt in path and path file extensions
404-solution/includes/DataAccess.php
404-solution/includes/DatabaseUpgradesEtc.php
404-solution/includes/PluginLogic.php
404-solution/includes/Functions.php