Forum Replies Created

Viewing 15 replies - 1 through 15 (of 32 total)
  • So this is the code from the wc-page-functions.php file that is referenced in the error.

    $path = wp_parse_url( $item->url, PHP_URL_PATH );
    $query = wp_parse_url( $item->url, PHP_URL_QUERY );
    if ( strstr( $path, $customer_logout ) || strstr( $query, $customer_logout ) ) {
    unset( $items[ $key ] );
    }

    This is a core file. How can this be a problem with a plugin other than if $item->url is not defined corectly by a plugin? Why not just change line 139 to this:

    if ( (!is_null( $path ) && strstr( $path, $customer_logout ) ) || ( !is_null( $query ) && strstr( $query, $customer_logout ) ) ) {

    This checks the first parameter in each case of strstr, $path in the first case, and $query in the second, to see if it is null prior to checking with strstr. I did this on my setup and that fixed the error

    Thread Starter dbemowsk

    (@dbemowsk)

    I don’t use any mailing list plugins. I did install WordFence which didn’t seem to find any major issues. This was the results from the malware scanner.

    ?On URL “https://frombytestobits.com” malware or security issues are not found

    Get first content (100%)  CMS recognize (100%)  Scanning in public lists (100%)  Scanning for malware (100%)  Get external links (100%)  Get internal links (100%)  Scanning internal links (100%)  Check for SSL (100%)  Check for public access to Git, SVN repositories (100%)

    Thread Starter dbemowsk

    (@dbemowsk)

    Serge, So in researching this I found that these emails were being sent to my site users list. I don’t have a lot of registered users, but I did see a bunch of bogus users that got on to the list. I deleted all those users but wondering if maybe I turned something on that caused this. If I did I am not sure where to start looking.

    Thread Starter dbemowsk

    (@dbemowsk)

    Serge,

    I just had another small series of undeliverable emails come in from that message. I am forwarding another screen shot of this.

    Thread Starter dbemowsk

    (@dbemowsk)

    Serge,

    Thank you for the response. I have forwarded a series of emails to you. that I am getting.

    Thread Starter dbemowsk

    (@dbemowsk)

    So I used your idea of renaming the plugins with an “X” at the beginning of the name to see if I could track down the plugin that was causing the error. Turns out it was the nextgen-gallery plugin. With that plugin folder named Xnextgen-gallery, I can access the plugins page just fine now. I will notify the people at Nextgen to find a resolution.

    Thank you for your help.

    Thread Starter dbemowsk

    (@dbemowsk)

    So after I put the cleantalk folder back, I have noticed that I am getting more and more spam blog posts and user registrations that the cleantalk plugin was monitoring and defeating. I am wondering if now the cleantalk plugin needs to be re-enabled/activated, which I can’t do because I can’t get to the plugins page. This is the complete debug.log, which I think a lot of these entries seem like they are from when I had the plugin folders removed and it couldn’t access files.

    [21-Jan-2020 01:09:30 UTC] WordPress database error Table ‘dan_bemowski_info_2.wp_6ts9ct_cleantalk_sessions’ doesn’t exist for query DELETE
    FROM wp_6ts9ct_cleantalk_sessions
    WHERE last_update < NOW() – INTERVAL 172800 SECOND; made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/cleantalk-spam-protect/cleantalk.php’), apbct_update_actions, apbct_run_update_actions, apbct_update_to_5_118_0
    [21-Jan-2020 04:51:40 UTC] Successfully loaded service schemas from server response. (fetch_service_schemas_from_connect_server)
    [21-Jan-2020 08:29:21 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query UPDATE wp_6ts9ct_options SET option_value = ‘1579597161’ WHERE option_name = ‘_transient_timeout_12__2951165530’ made by A_WordPress_Base_Url->cache_lookups, C_Photocrati_Transient_Manager::update, C_Photocrati_Transient_Manager->set, set_transient, update_option
    [21-Jan-2020 21:33:57 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query UPDATE wp_6ts9ct_options SET option_value = ‘1579644237’ WHERE option_name = ‘_transient_timeout_12__2951165530’ made by A_WordPress_Base_Url->cache_lookups, C_Photocrati_Transient_Manager::update, C_Photocrati_Transient_Manager->set, set_transient, update_option
    [21-Jan-2020 23:58:28 UTC] PHP Warning: require_once(/home/dbemowsk/dan.bemowski.info/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Antispam/API.php): failed to open stream: No such file or directory in /home/dbemowsk/dan.bemowski.info/wp-content/plugins/cleantalk-spam-protect/cleantalk.php on line 54
    [21-Jan-2020 23:58:28 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/dbemowsk/dan.bemowski.info/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Antispam/API.php’ (include_path=’.:’) in /home/dbemowsk/dan.bemowski.info/wp-content/plugins/cleantalk-spam-protect/cleantalk.php on line 54
    [22-Jan-2020 00:18:45 UTC] PHP Warning: require_once(/home/dbemowsk/dan.bemowski.info/wp-content/plugins/jetpack/vendor/composer/autoload_classmap_package.php): failed to open stream: No such file or directory in /home/dbemowsk/dan.bemowski.info/wp-content/plugins/jetpack/vendor/autoload_packages.php on line 126
    [22-Jan-2020 00:18:45 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/dbemowsk/dan.bemowski.info/wp-content/plugins/jetpack/vendor/composer/autoload_classmap_package.php’ (include_path=’.:’) in /home/dbemowsk/dan.bemowski.info/wp-content/plugins/jetpack/vendor/autoload_packages.php on line 126
    [22-Jan-2020 02:17:08 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query UPDATE wp_6ts9ct_options SET option_value = ‘1579661228’ WHERE option_name = ‘_transient_timeout_12__2951165530’ made by A_WordPress_Base_Url->cache_lookups, C_Photocrati_Transient_Manager::update, C_Photocrati_Transient_Manager->set, set_transient, update_option

    Thread Starter dbemowsk

    (@dbemowsk)

    Sorry, I meant to mention in my last post that the reason I disabled jetpack was because I searched the error that I saw on my screen and found this link:
    https://www.ads-software.com/support/topic/fatal-error-cannot-unset-string-offsets-5/

    I figured disabling it to test at least ruled that out.

    Thread Starter dbemowsk

    (@dbemowsk)

    Removed Jetpack and that didn’t fix it either. Still get the same error when accessing plugins page. Is there a way to just disable plugins instead of having to delete these folders?

    Thread Starter dbemowsk

    (@dbemowsk)

    Thanks for the help. I transferred that folder locally and then deleted it, but that didn’t help. I still get the same error. I am in the process of trying the same thing with jetpack, but that is quite large so it will take a while. I will post the results.

    Is there a reason you mentioned deleting the cleantalk plugin?

    Thread Starter dbemowsk

    (@dbemowsk)

    So it appears that I get that error in other places in the admin section also. I just tried to go to the edit comments (edit-comments.php) page and got the same error.

    Thread Starter dbemowsk

    (@dbemowsk)

    I have had both “define( ‘WP_DEBUG’, true );” and “define( ‘WP_DEBUG_LOG’, true );” set for some time and didn’t realize that I forgot to shut them off last time I needed to debug,so the debug.log file was quite large. I made a backup of that file and started from a fresh one. The only thing I see in there after attempts to go to the plugins page is this entry:

    WordPress database error Table ‘dan_bemowski_info_2.wp_6ts9ct_cleantalk_sessions’ doesn’t exist for query DELETE
    FROM wp_6ts9ct_cleantalk_sessions
    WHERE last_update < NOW() – INTERVAL 172800 SECOND; made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/cleantalk-spam-protect/cleantalk.php’), apbct_update_actions, apbct_run_update_actions, apbct_update_to_5_118_0

    I don’t think that came from the plugins page load because I would see that entry every time I try to load the plugins page, but I don’t. I think that is just coming from the cleantalk plugin. I would reinstall the plugin to fix that error, but with not being able to get to the plugins page I can’t. I still get the same error when trying to access the plugins page though even dropping back to PHP 7.2:

    Error thrown
    Cannot unset string offsets

    So the debug.log file doesn’t seem to be telling me anything in regards to that error.

    Thread Starter dbemowsk

    (@dbemowsk)

    I can do that.

    Thread Starter dbemowsk

    (@dbemowsk)

    Mihai,

    You must have missed my last message.

    Thread Starter dbemowsk

    (@dbemowsk)

    Eric, can you email me. I just need an email address to create the user on the website. I also need a place to send you your password.

Viewing 15 replies - 1 through 15 (of 32 total)