Support » Plugin: WooCommerce » PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callb

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Support Rafy a11n

    (@nawaz0705)

    Hi @meestergijs

    Thank you for reaching out!

    Could you please see if there are any fatal-error logs from WooCommerce > Status > Logs? If you see any fatal error logs, please copy/paste the content of the error in your reply so that we can have a look. The page would look something like this: https://d.pr/i/cfKUYK

    Thread Starter meestergijs

    (@meestergijs)

    I had to change php back from 8.0 to 7.4 to access the website/admin. Here is what I could find:

    2022-08-24T08:57:24+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-24T08:57:34+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-24T09:03:27+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/wp-db.php op de lijn 2861
    
    2022-08-24T09:19:37+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-24T09:28:32+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-24T09:29:00+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-24T09:29:06+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-24T09:29:06+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-24T09:37:39+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/meta.php op de lijn 1175
    
    2022-08-24T14:09:44+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/meta.php op de lijn 1189
    
    2022-08-24T16:50:22+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/meta.php op de lijn 1189
    
    2022-08-24T16:51:01+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/meta.php op de lijn 1189

    And this from the day after:

    2022-08-25T07:23:11+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:23:17+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:23:17+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:27:36+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:27:41+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:27:41+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:28:07+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:28:13+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:28:13+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php:49) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php op de lijn 61
    
    2022-08-25T07:33:31+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/meta.php op de lijn 1175
    
    2022-08-25T07:38:43+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php:62) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php op de lijn 48
    
    2022-08-25T07:38:47+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php:62) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php op de lijn 48
    
    2022-08-25T07:38:48+00:00 CRITICAL Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php:62) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php op de lijn 48
    
    2022-08-25T11:22:17+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/wp-db.php op de lijn 2861
    
    2022-08-25T11:26:04+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/meestergijs_294/public/wp-includes/meta.php op de lijn 1175

    And here some webhook deliveries…

    2022-09-12T14:49:07+00:00 INFO Array
    (
        [Webhook Delivery] => Array
            (
                [Delivery ID] => d7f5132001c174ad71e73f8d1f54f916
                [Date] => sep 12, 2022 @ 14:49
                [URL] => https://promio.nl/woocommerce-delete-product
                [Duration] => 0.21453
                [Request] => Array
                    (
                        [Method] => POST
                        [Headers] => Array
                            (
                                [User-Agent] => WooCommerce/6.8.2 Hookshot (WordPress/6.0.2)
                                [Content-Type] => application/json
                                [X-WC-Webhook-Source] => https://staging-meestergijs.kinsta.cloud/
                                [X-WC-Webhook-Topic] => product.deleted
                                [X-WC-Webhook-Resource] => product
                                [X-WC-Webhook-Event] => deleted
                                [X-WC-Webhook-Signature] => 0Gs8VmIrsG7begQF6+ya/OYdv8DNpp+4t8IaR8Y0lvM=
                                [X-WC-Webhook-ID] => 2
                                [X-WC-Webhook-Delivery-ID] => d7f5132001c174ad71e73f8d1f54f916
                            )
    
                    )
    
                [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                [Response] => Array
                    (
                        [Code] => 200
                        [Message] => OK
                        [Headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => nginx
                                        [date] => Mon, 12 Sep 2022 14:49:07 GMT
                                        [content-type] => text/html; charset=utf-8
                                        [content-length] => 0
                                        [status] => Array
                                            (
                                                [0] => 200
                                                [1] => Shop not found
                                            )
    
                                        [set-cookie] => Array
                                            (
                                                [0] => PHPSESSID=hs9t5m11d9acau08vaesfohld2; expires=Thu, 13-Oct-2022 14:49:07 GMT; path=/; domain=promio.nl; secure; HttpOnly
                                                [1] => websiteCCLanguage=1; expires=Tue, 12-Sep-2023 14:49:07 GMT; path=/; domain=.promio.nl; Secure; SameSite=Lax; HttpOnly
                                            )
    
                                        [expires] => Thu, 19 Nov 1981 08:52:00 GMT
                                        [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
                                        [pragma] => no-cache
                                        [etag] => "d41d8cd98f00b204e9800998ecf8427e"
                                        [x-content-type-options] => nosniff
                                        [x-xss-protection] => 1; mode=block
                                        [referrer-policy] => strict-origin-when-cross-origin
                                        [x-frame-options] => SAMEORIGIN
                                        [strict-transport-security] => max-age=63072000
                                    )
    
                            )
    
                        [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                    )
    
            )
    
    )
    
    2022-09-12T18:42:20+00:00 INFO Array
    (
        [Webhook Delivery] => Array
            (
                [Delivery ID] => 5545a81f2ec2473c01c83b5ae1eef051
                [Date] => sep 12, 2022 @ 18:42
                [URL] => https://promio.nl/woocommerce-delete-product
                [Duration] => 0.17954
                [Request] => Array
                    (
                        [Method] => POST
                        [Headers] => Array
                            (
                                [User-Agent] => WooCommerce/6.8.2 Hookshot (WordPress/6.0.2)
                                [Content-Type] => application/json
                                [X-WC-Webhook-Source] => https://staging-meestergijs.kinsta.cloud/
                                [X-WC-Webhook-Topic] => product.deleted
                                [X-WC-Webhook-Resource] => product
                                [X-WC-Webhook-Event] => deleted
                                [X-WC-Webhook-Signature] => e5XnMGUNqQD3v9JAEvXjARJdoYpbx2Jyg8O5jG3EwwA=
                                [X-WC-Webhook-ID] => 2
                                [X-WC-Webhook-Delivery-ID] => 5545a81f2ec2473c01c83b5ae1eef051
                            )
    
                    )
    
                [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                [Response] => Array
                    (
                        [Code] => 200
                        [Message] => OK
                        [Headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => nginx
                                        [date] => Mon, 12 Sep 2022 18:42:20 GMT
                                        [content-type] => text/html; charset=utf-8
                                        [content-length] => 0
                                        [status] => Array
                                            (
                                                [0] => 200
                                                [1] => Shop not found
                                            )
    
                                        [set-cookie] => Array
                                            (
                                                [0] => PHPSESSID=0gf12nm3kfg9fl2ohv33lqrlj2; expires=Thu, 13-Oct-2022 18:42:20 GMT; path=/; domain=promio.nl; secure; HttpOnly
                                                [1] => websiteCCLanguage=1; expires=Tue, 12-Sep-2023 18:42:20 GMT; path=/; domain=.promio.nl; Secure; SameSite=Lax; HttpOnly
                                            )
    
                                        [expires] => Thu, 19 Nov 1981 08:52:00 GMT
                                        [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
                                        [pragma] => no-cache
                                        [etag] => "d41d8cd98f00b204e9800998ecf8427e"
                                        [x-content-type-options] => nosniff
                                        [x-xss-protection] => 1; mode=block
                                        [referrer-policy] => strict-origin-when-cross-origin
                                        [x-frame-options] => SAMEORIGIN
                                        [strict-transport-security] => max-age=63072000
                                    )
    
                            )
    
                        [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                    )
    
            )
    
    )
    
    2022-09-12T18:45:55+00:00 INFO Array
    (
        [Webhook Delivery] => Array
            (
                [Delivery ID] => fc7c59e6ae18c87d3e30d32cd617dbc4
                [Date] => sep 12, 2022 @ 18:45
                [URL] => https://promio.nl/woocommerce-delete-product
                [Duration] => 1.75072
                [Request] => Array
                    (
                        [Method] => POST
                        [Headers] => Array
                            (
                                [User-Agent] => WooCommerce/6.8.2 Hookshot (WordPress/6.0.2)
                                [Content-Type] => application/json
                                [X-WC-Webhook-Source] => https://staging-meestergijs.kinsta.cloud/
                                [X-WC-Webhook-Topic] => product.deleted
                                [X-WC-Webhook-Resource] => product
                                [X-WC-Webhook-Event] => deleted
                                [X-WC-Webhook-Signature] => //mRQNEkvigrytuelBeX+syuaxIyTBuXkbpOa8P4Eg8=
                                [X-WC-Webhook-ID] => 2
                                [X-WC-Webhook-Delivery-ID] => fc7c59e6ae18c87d3e30d32cd617dbc4
                            )
    
                    )
    
                [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                [Response] => Array
                    (
                        [Code] => 200
                        [Message] => OK
                        [Headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => nginx
                                        [date] => Mon, 12 Sep 2022 18:45:55 GMT
                                        [content-type] => text/html; charset=utf-8
                                        [content-length] => 0
                                        [status] => Array
                                            (
                                                [0] => 200
                                                [1] => Shop not found
                                            )
    
                                        [set-cookie] => Array
                                            (
                                                [0] => PHPSESSID=lhhc5oq0m930fu1e36ppkig2b3; expires=Thu, 13-Oct-2022 18:45:55 GMT; path=/; domain=promio.nl; secure; HttpOnly
                                                [1] => websiteCCLanguage=1; expires=Tue, 12-Sep-2023 18:45:55 GMT; path=/; domain=.promio.nl; Secure; SameSite=Lax; HttpOnly
                                            )
    
                                        [expires] => Thu, 19 Nov 1981 08:52:00 GMT
                                        [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
                                        [pragma] => no-cache
                                        [etag] => "d41d8cd98f00b204e9800998ecf8427e"
                                        [x-content-type-options] => nosniff
                                        [x-xss-protection] => 1; mode=block
                                        [referrer-policy] => strict-origin-when-cross-origin
                                        [x-frame-options] => SAMEORIGIN
                                        [strict-transport-security] => max-age=63072000
                                    )
    
                            )
    
                        [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                    )
    
            )
    
    )
    
    2022-09-12T18:48:44+00:00 INFO Array
    (
        [Webhook Delivery] => Array
            (
                [Delivery ID] => 96b0a3da30d7a2f4050f624a9a7ad849
                [Date] => sep 12, 2022 @ 18:48
                [URL] => https://promio.nl/woocommerce-delete-product
                [Duration] => 0.18137
                [Request] => Array
                    (
                        [Method] => POST
                        [Headers] => Array
                            (
                                [User-Agent] => WooCommerce/6.8.2 Hookshot (WordPress/6.0.2)
                                [Content-Type] => application/json
                                [X-WC-Webhook-Source] => https://staging-meestergijs.kinsta.cloud/
                                [X-WC-Webhook-Topic] => product.deleted
                                [X-WC-Webhook-Resource] => product
                                [X-WC-Webhook-Event] => deleted
                                [X-WC-Webhook-Signature] => q7EK7AjXD3bXJsW9yMu1kmWnFiV+3kkIGIqUcQNm+gE=
                                [X-WC-Webhook-ID] => 2
                                [X-WC-Webhook-Delivery-ID] => 96b0a3da30d7a2f4050f624a9a7ad849
                            )
    
                    )
    
                [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                [Response] => Array
                    (
                        [Code] => 200
                        [Message] => OK
                        [Headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => nginx
                                        [date] => Mon, 12 Sep 2022 18:48:44 GMT
                                        [content-type] => text/html; charset=utf-8
                                        [content-length] => 0
                                        [status] => Array
                                            (
                                                [0] => 200
                                                [1] => Shop not found
                                            )
    
                                        [set-cookie] => Array
                                            (
                                                [0] => PHPSESSID=hl6h5dh1ok7pmfde3fm9simid3; expires=Thu, 13-Oct-2022 18:48:44 GMT; path=/; domain=promio.nl; secure; HttpOnly
                                                [1] => websiteCCLanguage=1; expires=Tue, 12-Sep-2023 18:48:44 GMT; path=/; domain=.promio.nl; Secure; SameSite=Lax; HttpOnly
                                            )
    
                                        [expires] => Thu, 19 Nov 1981 08:52:00 GMT
                                        [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
                                        [pragma] => no-cache
                                        [etag] => "d41d8cd98f00b204e9800998ecf8427e"
                                        [x-content-type-options] => nosniff
                                        [x-xss-protection] => 1; mode=block
                                        [referrer-policy] => strict-origin-when-cross-origin
                                        [x-frame-options] => SAMEORIGIN
                                        [strict-transport-security] => max-age=63072000
                                    )
    
                            )
    
                        [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                    )
    
            )
    
    )

    Hi @meestergijs

    Thanks for sharing the error logs.

    Have you tried to switch to the default Storefront theme and see if it eliminates the error message?

    WPLMS Assignments: door VibeThemes – 3.9.9.2
    WPLMS Dashboard: door VibeThemes – 3.9.9.1
    WPLMS Front End: door VibeThemes – 3.9.9
    WPLMS H5p custom: door VibeThemes,alexhal – 1.3

    If that did not resolve the issue, please disable these plugins as it seems that the error is being caused by the WPLMS H5P plugin.

    Let us know how it goes!

    Thread Starter meestergijs

    (@meestergijs)

    When plugins are deactivated, I still get the error. And when using Storefront theme I get a blank page.. So it’s in the Woocommerce plugin. When I deactivate that, I don’t get an error when my childtheme is active and I switch to php8

    Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    Can you please update the WooCommerce plugin to the latest version? I can see you are using WooCommerce 6.8.2 however, the latest version is 6.9.1.

    Please update the plugin, and let me know how it goes!

    Best,

    Thread Starter meestergijs

    (@meestergijs)

    Dear Daniyal,

    That’s not your best advice. That update is from today. The problem was already there. I updated, and I still have that problem.

    What to do next?

    Hi @meestergijs

    Thanks for updating WooCommerce to its latest version.

    When plugins are deactivated, I still get the error. And when using Storefront theme I get a blank page

    When you switched to Storefront and disabled the plugins, did you disable the custom code snippets as well? If not, please make sure to disable any/all custom code present on the site when you run a full conflict test. Here’s more info on how to go about it: https://docs.woocommerce.com/document/how-to-test-for-conflicts/ . We strongly recommend running this test because the error you are getting cannot be reproduced on a basic site setup with WooCommerce as the only active plugin and theme Storefront, so definitely there is a conflict with another tool.

    Let us know how it goes.

    Thread Starter meestergijs

    (@meestergijs)

    It is something in my child theme that doesn’t communicate with woocommerce plugin in php8. But that works great in 7.4. I often get this message:

    [error] 78188#78188: *3391 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, no array or string given in /www/live2_166/public/wp-includes/class-wp-hook.php:307

    The line in that php file is: $value = call_user_func_array( $the_[‘function’], $args );

    It must be related to Woocommerce. what could it be?

    Hello,
    Sorry to hear about this.

    In afwachting: 415

    Can you please head to WooCommerce > status > scheduled actions > pending. And run the pending actions? (I understand that will need some time).

    WP Memory Limit: 256 MB

    Can you please increase the memory limit on your site, you can refer to this article below to get more information, or you can contact your web host to assist you with that.

    Let us know if that makes a difference. Thanks.

    Thread Starter meestergijs

    (@meestergijs)

    I seem to have fixed the issue by deleting these two lines from my function.php file, based on advice given by WPLMS theme support. Can you explain why?

    add_filter( ‘woocommerce_admin_disabled’, ‘__return_true’ );
    add_filter( ‘woocommerce_admin_disabled’, true );

    You talk about executing pending actions. When I look at my live website, I see 1700+ pending actions. A lot wc_memberships_user_membership_expiry and wc_memberships_user_membership_renewal_reminder. Does that mean that these emails are not being sent to my students?

    Gijs

    • This reply was modified 1 year, 5 months ago by meestergijs.
    • This reply was modified 1 year, 5 months ago by meestergijs.
    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    @meestergijs

    I suspect it could be a result of improper use of PHP namespaces, but you’ll want to check with the theme author to confirm.

    I installed WooCommerce to test it yesterday. Today I cannot log into WordPress. Error on login “call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method AestheteOptions::add() cannot be called statically” HELP!

    Hi @mrice4wirrcom

    Thanks for reaching out!

    I understand you are experiencing the same issue and since every site is different and you’re not the person who originally started this topic then, per the forum guidelines, would you please start your own topic?

    Additionally, please include your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    We’ll be more than happy to help there 🙂</img>

    The issue was resolved by updating PHP file.

    Hi @mrice4wirrcom

    I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! 🙂

    Thanks!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callb’ is closed to new replies.