• Resolved johnreimann

    (@johnreimann)


    Hi All,

    When I activate the WooCommerce Zapier plugin and go to edit any page or post I get a Fatal error: Cannot call constructor”.

    I reached out to Zapier and they’ve redirected me here.

    Error log shows:

    2021-05-17T13:55:04+00:00 CRITICAL Uncaught Error: Cannot call constructor in /home/customer/www/mydomainname.co.uk/public_html/wp-content/plugins/woocommerce-zapier/src/Plugin/Subscriptions/Controller.php:59
    Stack trace:
    #0 /home/customer/www/mydomainname.co.uk/public_html/wp-content/plugins/woocommerce-zapier/src/ContainerService.php(287): OM4\WooCommerceZapier\Plugin\Subscriptions\Controller->__construct(Object(OM4\WooCommerceZapier\Logger), Object(OM4\WooCommerceZapier\TaskHistory\TaskDataStore))
    #1 /home/customer/www/mydomainname.co.uk/public_html/wp-content/plugins/woocommerce-zapier/src/Vendor/League/Container/Definition/CallableDefinition.php(17): OM4\WooCommerceZapier\ContainerService->OM4\WooCommerceZapier\{closure}()
    #2 /home/customer/www/mydomainname.co.uk/public_html/wp-content/plugins/woocommerce-zapier/src/Vendor/League/Container/Container.php(237): OM4\WooCommerceZapier\Vendor\League\Container\Definition\CallableDefinition->build(Array)
    #3 /home/customer/www/mydomainname.co.uk/public in /home/customer/www/mydomainname.co.uk/public_html/wp-content/plugins/woocommerce-zapier/src/Plugin/Subscriptions/Controller.php on line 59

    Thanks in advance to anyone who can help me resolve this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there 👋

    It sounds like you have a valid subscription with us. Please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there. 🙂

    Thread Starter johnreimann

    (@johnreimann)

    Hi Gabriel,

    Thanks for your swift reply but after deleting and reinstalling the plugin all now seem to be o.K.

    Thanks again.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    That’s wonderful 🎉

    Thank you for letting us know. If you have any further questions, you can start a new thread.

    Cheers.

    theCsaba

    (@om4csaba)

    Hi, WooCommerce Zapier developer here.

    For Googlers, here is the solution:

    If you experience a fatal error referring to Cannot call constructor and plugins/woocommerce-zapier/src/Plugin/Subscriptions/Controller.php, most likely you have the Subscriptions plugin 3.1.0 or later and Zapier plugin 2.0.8 or earlier installed in your system. Please update the Zapier plugin to 2.1.0.

    Release notes: https://docs.om4.io/woocommerce-zapier/release-notes-changelog/#plugin-210-20210511

    Thanks

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi @om4csaba 👋

    Thank you so much for sharing the solution with the community 😄

    Have a great day ahead!

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

The topic ‘Woocommerce Zapier – Cannot call constructor’ is closed to new replies.