Reply 197171 to: Err after theme activation

Avatar: slw250@hotmail.com
slw250@hotmail.com
Participant
July 24, 2018 at 10:20

i update the pie register and woocommerce prices by user role plugins. now the only error we got is as follow:

PHP Warning: Illegal string offset ‘enabled’ in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 94
[23-Jul-2018 09:11:58 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 96
[23-Jul-2018 09:11:58 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 97
[23-Jul-2018 09:11:58 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 219
[23-Jul-2018 09:11:58 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 223
[23-Jul-2018 09:11:58 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 241
[23-Jul-2018 09:11:58 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 284
[23-Jul-2018 09:11:58 UTC] PHP Warning: Illegal string offset ‘enabled’ in /home/alh247/public_html/wp-content/themes/xstore/woocommerce/content-product.php on line 94

and
[23-Jul-2018 14:57:28 UTC] The WC_Customer::set_address function is deprecated since version 3.0. Replace with WC_Customer::set_billing_address.
[23-Jul-2018 14:57:28 UTC] The WC_Customer::set_city function is deprecated since version 3.0. Replace with WC_Customer::set_billing_city.
[23-Jul-2018 14:57:28 UTC] The WC_Customer::set_state function is deprecated since version 3.0. Replace with WC_Customer::set_billing_state.
[23-Jul-2018 14:57:28 UTC] The WC_Customer::set_country function is deprecated since version 3.0. Replace with WC_Customer::set_billing_country.

Can you please guide me to resolve these errors

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.