Mystile theme warning when moving from local to live
-
Hi everyone, I am just new to wordpress.
I encounter a problem when I put my working local wordpress to Hostgator (live host).
I use Filezilla to upload wordpress files to the public_html of Hostgator.
When I visit my website: mydomain.com/wp-admin, it throws me some warnings.
Warning: Invalid argument supplied for foreach() in /home1/ken/public_html/wp-content/themes/mystile/functions/classes/class-wf-fields.php on line 1550 Warning: Invalid argument supplied for foreach() in /home1/ken/public_html/wp-content/themes/mystile/functions/classes/class-wf-fields.php on line 1589 Warning: Cannot modify header information - headers already sent by (output started at /home1/ken/public_html/wp-content/themes/mystile/functions/classes/class-wf-fields.php:1550) in /home1/ken/public_html/wp-includes/pluggable.php on line 1207
This is the code of class-wf-fields.php start line 1550:
foreach ( $data as $k => $v ) { if ( $v['type'] == 'heading' || $v['type'] == 'subheading' ) { $headings[] = $v; } }
I have tried several solution:
1. Check if there’s empty space in wp-config.php and class-wf-fields.php (and there’s none)
2. Update WooFramework to the latest version, and reupload itHope the you can share your expertise regarding this matter, will appreciate a lot ?? ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Mystile theme warning when moving from local to live’ is closed to new replies.