• Resolved mgraf

    (@pinot-fish)


    Version 4.14.1 threw a critical error on my site requiring the only access to be gained was through the Recover Mode link sent by WordPress.   Thankful for that!  But have disabled Cloudflare until resolved.   I don't use WP Rocket but do have FlyingPress which comes up in some of the errors.



    WordPress version 6.9
    Active theme: Divi (version 4.27.5)
    Current plugin: Cloudflare (version 4.14.1)
    PHP version 8.3.25

    Error Details
    =============
    An error of type E_ERROR was caused in line 8 of the file xxx/wp-content/plugins/cloudflare/deprecated/WordPress/DataStore.php. Error message: Uncaught TypeError: CF\WordPress\DataStore::__construct(): Argument #1 ($logger) must be of type Psr\Log\LoggerInterface, CF\Integration\DefaultLogger given, called in xxx/wp-content/plugins/flying-press/src/Integrations/APO.php on line 49 and defined in xxx/wp-content/plugins/cloudflare/deprecated/WordPress/DataStore.php:8
    Stack trace:
    #0 xxx/wp-content/plugins/flying-press/src/Integrations/APO.php(49): CF\WordPress\DataStore->__construct(Object(CF\Integration\DefaultLogger))
    #1 xxx/wp-content/plugins/flying-press/src/Integrations/APO.php(9): FlyingPress\Integrations\APO::is_apo_enabled()
    #2 /xxx/wp-content/plugins/flying-press/src/Integrations.php(11): FlyingPress\Integrations\APO::init()
    #3 /xxx/wp-content/plugins/flying-press/flying-press.php(32): FlyingPress\Integrations::init()
    #4 xxx/wp-settings.php(560): include_once('xxxp...')
    #5 wp-config.php(94): require_once('xxx/p...')
    #6 wp-load.php(50): require_once('xxx/p...')
    #7 wp-admin/admin.php(35): require_once('xxx/p...')
    #8 wp-admin/update-core.php(10): require_once('xxx/p...')
    #9 {main}
     thrown
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Barry Kooij

    (@barrykooij)

    Hey @pinot-fish,

    Thanks for your report and sorry to hear that. It seems like a plugin called “flying-press” is creating a direct object of our internal class DataStore. I will log this issue and see if we can catch this error and handle it more graceful, but please contact “flying-press” and ask them to update their integration.

    I will keep you updated in this post.

    Kind Regards,

    Barry Kooij

    Plugin Contributor Barry Kooij

    (@barrykooij)

    Hi @pinot-fish,

    Update: I’ve found the issue and this will be fixed in the next update. In the meantime you can revert back to version 4.13.0, until the next update is released. You can download version 4.13.0 here: https://downloads.wp.xz.cn/plugin/cloudflare.4.13.0.zip

    Kind Regards,

    Barry Kooij

    Plugin Contributor Barry Kooij

    (@barrykooij)

    We just released version 4.14.2 which should resolve this issue. Please update via your WordPress dashboard, or download the update directly here: https://downloads.wp.xz.cn/plugin/cloudflare.4.14.2.zip

    If you’re running into any issues after updating, please let me know.

    Thread Starter mgraf

    (@pinot-fish)

    @barrykooij Installed 4.14.2 and confirm all seems to be well on my site. Thank you for addressing the problem quickly!

    Plugin Contributor Barry Kooij

    (@barrykooij)

    @pinot-fish thanks for confirming the fix and I’m sorry again for the inconvenience.

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

You must be logged in to reply to this topic.