• Resolved damienrciitech

    (@damienrciitech)


    Hi,

    We are getting critical errors when your plugin is active.

    Error Details
    =============
    An error of type E_ERROR was caused in line 296 of the file /www/xxxxxx_440/public/wp-content/plugins/include-klaviyo-for-elementor-pro/include-elementor-klaviyo.php. Error message: Uncaught Error: Call to a member function get_modules() on null in /www/provacan_440/public/wp-content/plugins/include-klaviyo-for-elementor-pro/include-elementor-klaviyo.php:296

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thongnguyenminh

    (@thongnguyenminh)

    Hi @damienrciitech sorry to hear that.
    To help me on solve this issues, can you please provide these info:

    • WP version
    • PHP version
    • Theme and version
    • Elementor/Elementor Pro version
    • This issue happened after an update (theme/plugin) or in the first time you installed
    Thread Starter damienrciitech

    (@damienrciitech)

    Hi,

    • WP version – 6.1.1
    • PHP version 8.1
    • Theme and version Ocean WP 3.4.2
    • Elementor/Elementor Pro version 3.11.5/3.11.7
    • This issue happened after an update (theme/plugin) or in the first time you installed. – This just happened, no extra installs.

    Thanks

    Plugin Author thongnguyenminh

    (@thongnguyenminh)

    Hi @damienrciitech i have rebuild the site with same info as your and found the cause.

    Currently, Elementor/Elementor pro not fully compatible with PHP 8.1 yet, this happened with one of their function (the get_modules() function) as you can see in this image. And my plugin using this function, so it cause the error when call the function.

    At this point you can:

    • Using lower PHP version (the best is 8.0, as Elementor said that they support this or 7.4). This is the most recommend because right now lots of plugins not fully compatible with PHP 8.1 too and this maybe cause similar issue for your site in the future.
    • Using another plugin (may be there are other similar plugins out there not using this function in their code)

    I will mark this as solved now. But please feel free to ask if you need any thing else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin giving critical errors’ is closed to new replies.