ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
924 stars 218 forks source link

Unyson Plugin error - 23-08-2022 #4264

Open sanjujohn opened 2 years ago

sanjujohn commented 2 years ago

can you please any help me for some reason when i update th ![error]( Warning: Invalid argument supplied for foreach() in /home/arabbeve/public_html/wp-content/plugins/unyson/framework/includes/option-types/typography-v2/class-fw-option-type-typography-v2.php on line 148 e unyson plugin, after a while started to show the following.

Warning: Invalid argument supplied for foreach() in /home/arabbeve/public_html/wp-content/plugins/unyson/framework/includes/option-types/typography-v2/class-fw-option-type-typography-v2.php on line 148

on top of the website. the website with the issue is (http://www.arabbeverages.com/)

if someone knows the problem please help me to fix it.

thanks error

IamOri commented 2 years ago

Hello my solution: https://github.com/ThemeFuse/Unyson/issues/4261#issuecomment-1223924349

Tom2710 commented 2 years ago

I have the same problem too

sanjujohn commented 2 years ago

Solution -

you can safely remove these warnings by doing the following

Go in your wp-config.php file and look for define(‘WP_DEBUG’, true);. Change it to: define('WP_DEBUG', false);

Once done it will remove the warning from the front end.

Make sure to add it as follows, please

ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false);

yura-x commented 2 years ago

https://github.com/ThemeFuse/Unyson/issues/4261#issuecomment-1228820888