• Resolved makmerghen

    (@makmerghen)


    I found error in error log related to woocommerce and if I uninstall woocommerce the error is gone
    the error is
    [16-Apr-2021 19:14:23 UTC] PHP Notice: the_widget was called incorrectly. Widgets need to be registered using register_widget(), before they can be displayed. Please see Debugging in WordPress for more information. (This message was added in version 4.9.0.) in /home/elazar/mysite.com/wp-includes/functions.php on line 5313

    so how to fix this
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • It seems unlikely that the WooCommerce code wouldn’t be registering its own widgets correctly, especially after several version points.

    So what might be happening is that some other plugin is adding a widget using calls to WooCommerce code. If you have WooCommerce activated and other plugins not, do you see the error? Then reactivate your other plugins one-by-one to try to identify which plugin is causing the error.

    Next, you would need to report the error to the support forum for that plugin.

    Thread Starter makmerghen

    (@makmerghen)

    yes you are right it was because some plugin
    thank you

    Plugin Support abwaita a11n

    (@abwaita)

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php notice because woocommerce’ is closed to new replies.