• Resolved Beneris

    (@beneris)


    Just updated forminator on site and got fatal error

    Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function as_has_scheduled_action() in /var/www/vhosts/SITENAME/httpdocs/wp-content/plugins/forminator/library/abstracts/abstract-class-general-data-protection.php:56

    downgraded to 1.26.0 ant its works, so this is related to whatwer you imporved on latest versions or something related to my server && plugins

    • This topic was modified 1 year, 4 months ago by Beneris.
    • This topic was modified 1 year, 4 months ago by Beneris.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @beneris

    I hope you’re well today!

    This is most likely a conflict.

    We had so far one similar report and it turned out that the conflict was with WP Mail SMTP plugin (a Pro version only!) which was using outdated version of Action Scheduler back then. With Forminator using the latest one, it was creating a conflict.

    Do you by any chance have WP Mail SMTP Pro active on site? If yes, check if disabling it removes the error.

    If you don’t us it, then there’s a good chance there’s another plugin causing similar conflict so a full conflict test would be necessary in this case

    – switch theme to e.g. Twenty Twenty-Three or Twenty Twenty-Four
    – disable all plugins except Forminator
    – issue shoudl go away then
    – enable your original theme back and test again
    – and if it still doesn’t happen, start enabling plugins back one-by-one, after each one checking for the issue.

    The last enabled plugin right before issue starts to happen again would be the most likely cause of conflict and knowing about it we could then check if it’s something that could be fixed on our end or if it needs to be reported to that plugin support.

    Best regards,
    Adam

    Thread Starter Beneris

    (@beneris)

    Thank you for response, now I had idea what to look for.
    So first tierd to disable wp-mail-smp (free version) nothing happened.
    Looked at plugins directory how many plugins has this included

    And had fun activating them one by one.
    Failed on: WooCommerce Smart Coupons (woocommerce-smart-coupons)
    [https://woo.com/products/smart-coupons]

    Replaced “action-scheduler” folder from you plugin, workign fine.
    Should I report issue to them? Fact is, I got fatal error only when forminator and this plugin is active, all other combinations was working fine.

    Hi @beneris,

    Hope this message finds you well and thanks for the information.

    Since Smart Coupons is a PRO plugin we are unable to perform further tests. In such case, could you report the issue to them, please? Let us know their comments.

    Best regards,
    Laura

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined function as_has_scheduled_action()’ is closed to new replies.