• After updating the wpo365-login plugin to v23.0, all admin pages containing information about updates are producing critical errors. Below is one of the errors, that seems to be triggered by the Woocommerce (v7.7.2) plugin.

    WP-CLI also produced the sames errors while running commands like wp plugin list , wp plugin install wp0365-login --version=22.1 etc.

    2023/06/09 09:40:26 [error] 785#785: *523306 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Attempt to modify property "no_update" on null in /var/www/html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:75
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(310): WC_Helper_Updater::transient_update_plugins()
    #1 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /var/www/html/wp-includes/option.php(2036): apply_filters()
    #3 /var/www/html/wp-includes/update.php(391): set_site_transient()
    #4 /var/www/html/wp-includes/class-wp-hook.php(308): wp_update_plugins()
    #5 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #7 /var/www/html/wp-admin/admin.php(385): do_action()
    #8 /var/www/html/wp-admin/update-core.php(10): require_once('" while reading response header from upstream, client: REDACTED, server: REDACTED, request: "GET /wp-admin/update-core.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/8.1-fpm.sock:", host: "REDACTED", referrer: "https:/REDACTED/wp-admin/"
    

    After downgrading wpo365-login to V22.1?everything is working as expected again.

    Can you please take a look at this? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marco van Wieren

    (@wpo365)

    Hi @koningsvh

    Thank you for bringing this to my attention. It seems that there are some clauses in the code where WPO365 does not return the plugin update information, where it should.

    I will provide a fix for this as soon as possible.

    Sorry for any inconvenience!

    Plugin Author Marco van Wieren

    (@wpo365)

    Hi @koningsvh

    I have updated the plugin and version 23.1 fixes the issue you reported.

    Unfortunately, your request has made me aware of a more severe impact. Users who installed the version 23.0 will have trouble receiving WordPress updates. I am still investigating the actual impact, to understand whether this is a problem that is – for example – resolved after 12 hours, or whether it is a permanent issue. If that is the case, administrators can work-around it by “forcing” the WPO365 to check for updates (and keep it from blocking the update check in general) when they navigate to the page with all installed plugins and add ?action=force_plugin_updates_check to the URL e.g. https://[your-website-url-goes-here]/wp-admin/plugins.php?action=force_plugin_updates_check.

    Thank you for bringing this to my attention!

    -Marco

    Thread Starter koningsvh

    (@koningsvh)

    Hi @wpo365 ,

    Thanks for the quick response and actions! The newest version seems to have solved the issue.

    I solved the problem initially by moving wp-content/plugins/wpo365-login to wp-content/plugins/wpo365-login.bak and than installing version V22.1?via wp plugin install wpo365-login --version=22.1 . Bacause version v23.1 fixes the issue, installing version 23.1 would also work now. This will require access to the filesystem of the hosting platform.

    Thanks again for the quick update and the fix!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP error after updating to v23.0’ is closed to new replies.