same here and I just updated also
same here, WP 4.0.1 and YA 5.1.3.
http://digipulse.com/
Warning: strip_tags() expects parameter 1 to be string, array given in /home/REDACTED/public_html/REDACTED.com/wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/REDACTED/public_html/REDACTED.com/wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php:88) in /home/REDACTED/public_html/REDACTED.com/wp-includes/pluggable.php on line 1179
Why is this plugin including the following line of code regarding forceSSL, which I can’t turn off, and which is not included in Google Analytics default code to install? This site is not on an SSL.
__gaTracker(‘set’, ‘forceSSL’, true);
This “feature” is not mentioned ANYWHERE in the changelog – no mention of “SSL” or “secure” at all.
The problem seems to be with the “Ignore Users” field (which is submitted as an array, causing the error above on line 88) — when I make changes to that field, I get the same error, and the changes are lost. The field becomes blank even if it was previously populated.
In the settings page itself, I now also get an error at the top of the page, “There where no changes to save, please try again.” whenever I try to change that field.
I’m getting the same error as well.
WP 4.1 and YA 5.1.3
now the difference is my details are saving in the system after going back on the error page, plus I have had a look in the source and I can see all the details there too.
My details do save when this error comes up also
To clarify, all of my settings do save, except for the “Ignore Users” field, which becomes blank — and then I only get the on-page error message when I attempt to fill it in again and save without changing any other settings.
I am also having an issue…. Everything saves but everytime I try to save I get one of those errors.
wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php on line 88
Same here. Issue comes from the “Ignore Users” field:
Warning: strip_tags() expects parameter 1 to be string, array given in /home/content/…/65/2242065/html/wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php on line 88
Warning: Cannot modify header information – headers already sent by (output started at /home/content/…/65/2242065/html/wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php:88) in /home/content/…/65/2242065/html/wp-includes/pluggable.php on line 1173
I am getting an issues aswell:
Warning: strip_tags() expects parameter 1 to be string, array given in /home/xxxx/public_html/wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php on line 88
Warning: Cannot modify header information – headers already sent by (output started at /home/xxx/public_html/wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php:88) in /home/xxx/public_html/wp-includes/pluggable.php on line 1179
A fix!
Go to Plugins > Editor. Select “Google Analytics by Yoast” and edit the file google-analytics-for-wordpress/admin/class-admin.php
Change line 88:
$value = strip_tags( $value );
With this:
$value = strip_tags( (string) $value );
(is not the best solution, but works for me)
@unostips Thanks a lot you fixed my issue on two sites
freezetheme
Thanks a lot spent my 3 hours
A fix!
Go to Plugins > Editor. Select “Google Analytics by Yoast” and edit the file google-analytics-for-wordpress/admin/class-admin.php
Change line 88:
$value = strip_tags( $value );
With this:
$value = strip_tags( (string) $value );
(is not the best solution, but works for me)
@unostips Thanks a lot you fixed my issue on two sites
http://www.freezetheme.com
Thanks a lot spent my 3 hours
A fix!
Go to Plugins > Editor. Select “Google Analytics by Yoast” and edit the file google-analytics-for-wordpress/admin/class-admin.php
Change line 88:
$value = strip_tags( $value );
With this:
$value = strip_tags( (string) $value );
(is not the best solution, but works for me)
Fix causes other errors on my site….
I’m encountering the same issues when trying to update the “Ignore Users” field. Any updates/feedback from the plugin author???