• Resolved carmpocalypse

    (@carmpocalypse)


    Hello,

    I get a fatal error from this plugin. Error log shows:

    PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "elex_basic_address_woocommerce_inactive_notice" not found or invalid function name in /home/xxxx/public_html/wp-includes/class-wp-hook.php:308
    Stack trace:
    #0 /home/xxxx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #1 /home/xxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #2 /home/xxxx/public_html/wp-admin/admin-header.php(303): do_action('admin_notices')
    #3 /home/xxxx/public_html/wp-admin/plugins.php(605): require_once('/home/xxxx/p...')
    #4 {main}
      thrown in /home/xxxx/public_html/wp-includes/class-wp-hook.php on line 308
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ELEXtensions

    (@elextensions)

    Hello @carmpocalypse ,

    We apologize for any inconvenience caused. We are unable to reproduce the error you reported on our testing site. Could you please provide more details about when the error is occurring? Additionally, it would be helpful if you could provide us with the versions of WordPress, WooCommerce, PHP, and the plugin installed on your site.

    If possible, please provide us with access to your test site through a support ticket so that our team can investigate the issue and provide a resolution as soon as possible.

    We look forward to hearing back from you soon.

    Thread Starter carmpocalypse

    (@carmpocalypse)

    @elextensions
    The error occurs when disabling any random plugin and reactivating it. The fatal error occurred in all PHP 8 versions (8.0, 8.1 and 8.2). Currently running on PHP 8.1.16.

    Website details:
    WordPress: 6.1.1
    WooCommerce: 7.4.1
    ELEX Address Validation & Google Address Auto Complete Plugin for WooCommerce (Basic): 1.6.1

    Database details:
    MariaDB: 10.5.19

    Additionally, WordPress Memory Limit is at 512MB.

    Plugin Author ELEXtensions

    (@elextensions)

    Hello @carmpocalypse,

    Thank you for sharing the details.

    Regarding this issue, we have identified that the error occurs when attempting to disable WooCommerce on your website. Our ELEX Address Validation & Google Address AutoComplete Plugin is designed to function in sync with WooCommerce’s cart and checkout features. Hence, disabling WooCommerce will result in PHP warnings as the plugin is dependent on WooCommerce.

    We have already notified our developer about the issue, and they will include the necessary fixes in the upcoming release soon.

    Plugin Author ELEXtensions

    (@elextensions)

    Hello @carmpocalypse ,

    We have released a new version of the plugin (1.6.2) with the fix for the PHP error occurring when WooCommerce is deactivated. Kindly provide the feedback after upgrading to the latest version.

    Thread Starter carmpocalypse

    (@carmpocalypse)

    @elextensions
    Sorry for the late reply but everything is running fine now with the latest update to the plugin.

    Plugin Author ELEXtensions

    (@elextensions)

    Hello @carmpocalypse ,

    Glad to hear that everything is functioning well on your side. Please don’t hesitate to contact us if you have any additional concerns in the future.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal Error’ is closed to new replies.