• Resolved prodo

    (@prodo)


    Updating to the latest plugin fatally breaks WordPress 6.0

    
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/convertkit/lib/class-convertkit-api.php on line 896
    
    Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/wp-content/plugins/convertkit/lib/class-convertkit-api.php:896 Stack trace: #0 /var/www/html/wp-content/plugins/convertkit/lib/class-convertkit-api.php(820): ConvertKit_API->get_posts() #1 /var/www/html/wp-content/plugins/convertkit/lib/class-convertkit-resource.php(285): ConvertKit_API->get_all_posts() #2 /var/www/html/wp-content/plugins/convertkit/lib/class-convertkit-resource.php(111): ConvertKit_Resource->refresh() #3 /var/www/html/wp-content/plugins/convertkit/lib/class-convertkit-resource.php(91): ConvertKit_Resource->init() #4 /var/www/html/wp-content/plugins/convertkit/includes/class-convertkit-setup.php(26): ConvertKit_Resource->__construct() #5 /var/www/html/wp-content/plugins/convertkit/includes/functions.php(24): ConvertKit_Setup->activate() #6 /var/www/html/wp-includes/class-wp-hook.php(307): convertkit_plugin_activate() #7 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #8 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action() #9 /var/www/html/wp-admin/plugins.php(194): do_action() #10 {main} thrown in /var/www/html/wp-content/plugins/convertkit/lib/class-convertkit-api.php on line 896
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kit

    (@convertkit)

    Thanks for the report. We’re not immediately reproducing this issue, but will release a fix today.

    Can you confirm if the issue persists, and if so is it specific to one site / ConvertKit account?

    Thread Starter prodo

    (@prodo)

    Thank you! I am unable to activate the plugin as it throws that error. I only have it on one site and one ConvertKit account.

    I will retry once the fix is pushed.

    Thanks!

    Plugin Author Kit

    (@convertkit)

    @prodo 1.9.7.9 is now available. Would you mind updating and letting us know if this fixes the issue?

    Thread Starter prodo

    (@prodo)

    Issue is fixed.

    Thanks for the quick turnaround!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘1.9.7.8 Breaks WordPress 6.0’ is closed to new replies.