• Resolved aweberdev

    (@aweberdev)


    It looks like there is an issue with this morning’s version 2.0.0 update. I have about a little over a half dozen client sites that use this plugin, so I stopped when it broke my own site with the following error. Can you advise?

    An error of type E_ERROR was caused in line 273 of the file /home/customer/www/XXX/public_html/wp-content/plugins/convertkit/vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-resource.php. Error message: Uncaught Error: Call to undefined method ConvertKit_API::get_products() in /home/customer/www/XXX/public_html/wp-content/plugins/convertkit/vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-resource.php:273 Stack trace: #0 /home/customer/www/XXX/public_html/wp-content/plugins/convertkit/vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-resource.php(101): ConvertKit_Resource->refresh() #1 /home/customer/www/XXX/public_html/wp-content/plugins/convertkit/includes/class-convertkit-resource-products.php(52): ConvertKit_Resource->init() #2 /home/customer/www/XXX/public_html/wp-content/plugins/convertkit/includes/class-convertkit-post-type-product.php(114): ConvertKit_Resource_Products->__construct() #3 /home/customer/www/XXX/public_html/wp-includes/class-wp-hook.php(307): ConvertKit_Post_Type_Product->register_commerce_script('') #4 /home/customer/www/XXX/public_html/wp-includes/class-wp-hook.php(331): WP

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter aweberdev

    (@aweberdev)

    Just tested on a second website with the same result.

    Plugin Author Kit

    (@convertkit)

    Hi Amanda,

    It sounds like you’re running other ConvertKit Plugins that also need to be updated:
    – ConvertKit for Gravity Forms 1.2.7 (if this is your site, I notice you’re on 1.2.6)
    – ConvertKit for WooCommerce 1.5.1

    For detail, get_products() is included in our 2.0.0 release on WordPress here, and was also included in the last update, 1.9.8.5 – so this ‘missing’ method points to using an outdated ConvertKit API library, which would come from using an outdated ConvertKit WooCommerce or ConvertKit Gravity Form Plugin.

    Let me know if the above resolves.

    Thanks.

    Plugin Author Kit

    (@convertkit)

    Confirming that updating ConvertKit for Gravity Forms to 1.2.7 resolves.

    Thread Starter aweberdev

    (@aweberdev)

    Yes- thank you! Updating Convertkit for Gravity Forms solved the problem for me as well. Thank you!

    • This reply was modified 2 years ago by aweberdev. Reason: Wanted to mark as resolved
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘2.0.0 Upgrade Breaking Websites’ is closed to new replies.