Header errors?
-
Just added this to a new install. I’m getting
Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 22 in /home/site/public_html/wp-content/plugins/theme-to-browser-t2b-control/t2b.php on line 29Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/wp-content/plugins/theme-to-browser-t2b-control/t2b.php:29) in /home/site/public_html/wp-includes/option.php on line 571
Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/wp-content/plugins/theme-to-browser-t2b-control/t2b.php:29) in /home/site/public_html/wp-includes/option.php on line 572
What the lines look like:
29 if (preg_match($browser_regex,$useragent,$matched)) {571 setcookie( ‘wp-settings-‘ . $user->ID, $settings, time() + YEAR_IN_SECONDS, SITECOOKIEPATH );
572 setcookie( ‘wp-settings-time-‘ . $user->ID, time(), time() + YEAR_IN_SECONDS, SITECOOKIEPATH );These are exactly the same as my older install and give no issues.
I’ve tried removing the second ‘)’ and then ‘}’ on line 29 but then the entire site is inaccessible.https://www.ads-software.com/plugins/theme-to-browser-t2b-control/
- The topic ‘Header errors?’ is closed to new replies.