Shopper - Warning post installation

Woaow

New Member
Hello,

1/ I want to test your theme but have warning in admin panel...


Warning: count(): Parameter must be an array or an object that implements Countable in /home/wimiw506/public_html/wp-content/themes/shopper/inc/shopper-functions.php on line 209

Warning: count(): Parameter must be an array or an object that implements Countable in /home/wimiw506/public_html/wp-content/themes/shopper/inc/shopper-functions.php on line 209

Warning: Cannot modify header information - headers already sent by (output started at /home/wimiw506/public_html/wp-content/themes/shopper/inc/shopper-functions.php:209) in /home/wimiw506/public_html/wp-admin/includes/misc.php on line 1198

Warning.jpg

2/ i've install yith wishlist pluggin, but wish button don't display on top...

Thanks help.

Website : wimiw.net
 
Last edited:

Direct Webstore

Well-Known Member
Are you using PHP 7.2 by any chance? Changing to 7.0 may fix it. I read about this problem with Woo themes. But I don't see the error messages on your site ... so I guess you fixed it.

2/ i've install yith wishlist pluggin, but wish button don't display on top...

You would have to edit the header theme file and insert a shortcode for that. Some themes like "Flatsome" support it already. Shopper does not.

An easier solution would be to add the link to the wishlist page at the end of your top menu. It may be just /wishlist/ or it may be "/my-account/wishlist/" Check WP-Admin>Pages>Wishlist to check the URL. Then go to Appearance>Menus, select your top menu, then add a "Custom Link" to the menu.
 
Last edited:
Top