Title: PHP Fatal Error
Last modified: March 6, 2023

---

# PHP Fatal Error

 *  Resolved [carmpocalypse](https://wordpress.org/support/users/carmpocalypse/)
 * (@carmpocalypse)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-347/)
 * Hello,
   I get a fatal error from this plugin. Error log shows:
 *     ```wp-block-code
       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
       ```
   
    -  This topic was modified 3 years, 2 months ago by [carmpocalypse](https://wordpress.org/support/users/carmpocalypse/).

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

 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-347/#post-16536924)
 * Hello [@carmpocalypse](https://wordpress.org/support/users/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](https://support.elextensions.com/)
   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](https://wordpress.org/support/users/carmpocalypse/)
 * (@carmpocalypse)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-347/#post-16537270)
 * [@elextensions](https://wordpress.org/support/users/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.1WooCommerce: 7.4.1 ELEX Address Validation & 
   Google Address Auto Complete Plugin for WooCommerce (Basic): 1.6.1Database details:
   MariaDB: 10.5.19Additionally, WordPress Memory Limit is at 512MB.
 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-347/#post-16540578)
 * Hello [@carmpocalypse](https://wordpress.org/support/users/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](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-347/#post-16544096)
 * Hello [@carmpocalypse](https://wordpress.org/support/users/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](https://wordpress.org/support/users/carmpocalypse/)
 * (@carmpocalypse)
 * [3 years ago](https://wordpress.org/support/topic/php-fatal-error-347/#post-16698261)
 * [@elextensions](https://wordpress.org/support/users/elextensions/) 
   Sorry for
   the late reply but everything is running fine now with the latest update to the
   plugin.
 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [3 years ago](https://wordpress.org/support/topic/php-fatal-error-347/#post-16707077)
 * Hello [@carmpocalypse](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/address-validation-address-auto-complete/assets/icon-256x256.
   png?rev=2802383)
 * [ELEX WooCommerce Address Validation & Google Address Autocomplete Plugin](https://wordpress.org/plugins/address-validation-address-auto-complete/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/address-validation-address-auto-complete/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/address-validation-address-auto-complete/)
 * [Active Topics](https://wordpress.org/support/plugin/address-validation-address-auto-complete/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/address-validation-address-auto-complete/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/address-validation-address-auto-complete/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-fatal-error-347/#post-16707077)
 * Status: resolved