This topic has 6 replies, 3 voices, and was last updated 8 years, 10 months ago ago by Jack Richardson
Hello,
Out of the blue I am getting a warning for my cart and it is displaying on my site. The full warning messages are:
Warning: Missing argument 1 for WP_Widget::__construct(), called in /home5/adrianh4/public_html/AE/wp-content/themes/blanco-child/header.php on line 235 and defined in /home5/adrianh4/public_html/AE/wp-includes/class-wp-widget.php on line 154
Warning: Missing argument 2 for WP_Widget::__construct(), called in /home5/adrianh4/public_html/AE/wp-content/themes/blanco-child/header.php on line 235 and defined in /home5/adrianh4/public_html/AE/wp-includes/class-wp-widget.php on line 154
Please advise.
Regards,
Angelo
Hello,
As you can see the warning is related to your child theme:
/home5/adrianh4/public_html/AE/wp-content/themes/blanco-child/header.php
You should check your modifications in the child theme you created.
Regards,
Eva Kemp.
Hi, I may be using a child theme but it is calling a function in the main theme that is causing the issue. My child theme is very basic. Plus this was working fine then all of a sudden the messages started appearing. Nothing was changed. Can you please login to my site and take a look at it.
Regards,
Angelo
Hello,
Please provide us with FTP credentials.
Best regards,
Jack Richardson.
I initially put the FTP credentials in my initial message to you. Here is it again under Private.
Thanks,
Angelo
Hello,
The problem persists when your custom class Etheme_WooCommerce_Widget_Cart2
is used in the child header.php file in line 235. You need to analyze what exactly is incorrect in your code as it’s out of our support scope.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up