Theme installation errors
-
I am trying to install a theme on my local MAMP. In preview I see a lot of code and these errors:
Warning: Invalid argument supplied for foreach() in htdocs/wordpress/wp-content/themes/chapter26/index.php on line 5 Parse error: syntax error, unexpected $end in htdocs/wordpress/wp-content/themes/chapter26/header.php on line 154
Line 5 in the index.php of the theme has:
foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
After installation all crashes and I get
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at htdocs/wordpress/wp-content/themes/chapter26/admin/admin-options.php:293) in htdocs/wordpress/wp-content/themes/chapter26/functions.php on line 145 Warning: Cannot modify header information - headers already sent by (output started at htdocs/wordpress/wp-content/themes/chapter26/admin/admin-options.php:293) in htdocs/wordpress/wp-includes/functions.php on line 790 Warning: Cannot modify header information - headers already sent by (output started at htdocs/wordpress/wp-content/themes/chapter26/admin/admin-options.php:293) in /opt/local/apache2/htdocs/wordpress/wp-includes/functions.php on line 791
Any ideas why? No plugins are running and the two standard WordPress themes just place nicely.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Theme installation errors’ is closed to new replies.