Error Caught in DataAccess.php
-
I get a recurrent error triggered by DataAccess.php line 253 (PHP Type: E_ERROR).
Example output of the stacktrace error array:
Array (
[type] => 1
[message] => Uncaught Error: Object of class WP_Error could not be converted to string in /home/example/public_html/wp-content/plugins/404-solution/includes/DataAccess.php:253 Stack trace: #0 /home/example/public_html/wp-content/plugins/404-solution/includes/DataAccess.php(504): ABJ_404_Solution_DataAccess->queryAndGetResults('\n/* -----------...') #1 /home/example/public_html/wp-content/plugins/404-solution/includes/SpellChecker.php(440): ABJ_404_Solution_DataAccess->storeSpellingPermalinksToCache('2010/10/\xC2\xBFtacos...', Array) #2 /home/example/public_html/wp-content/plugins/404-solution/includes/SpellChecker.php(313): ABJ_404_Solution_SpellChecker->findMatchingPosts('2010/10/\xC2\xBFtacos...', '1', '1') #3 /home/example/public_html/wp-content/plugins/404-solution/includes/WordPress_Connector.php(274): ABJ_404_Solution_SpellChecker->getPermalinkUsingSpelling('2010/10/\xC2\xBFtacos...') #4 /home/example/public_html/wp-content/plugins/404-solution/404-solution.php(162): ABJ_404_Solution_WordPress_Connector->process404() #5 /home/example/public_html/wp-includes/class-wp-hook.php(324): abj404_404listener('') #6 /home/example/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /home/example/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/example/public_html/wp-includes/template-loader.php(13): do_action('template_redire...') #9 /home/example/public_html/wp-blog-header.php(19): require_once('/home/example/...') #10 /home/example/public_html/index.php(17): require('/home/example/...') #11 {main} thrown
[file] => /home/example/public_html/wp-content/plugins/404-solution/includes/DataAccess.php
[line] => 253 )I’ve seen this error in several different sites. The error occurs when a request is made to view some removed pages/files but not all of them. I think it has something to do with special characters used in URL slugs upsetting the spellchecker in 404 Solution.
Have you seen the error before and is there a fix?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Error Caught in DataAccess.php’ is closed to new replies.