Error: 'addthis_rate_us' line 204
-
Hi, my web associate discovered that line #204 is wrong: ” && $configs[‘addthis_rate_us’] != ‘rated'” , it should say “$this->configs” instead of “$configs”.
The reason is an error notice that appeared:
Notice: Undefined variable: configs in /home/mpond/cofbooks.com/wp-content/plugins/addthis/AddThisConfigs.php on line 204
Our convo:
[7/2/15 10:25:22 AM] Randy: Looks like a bug in AddThisConfigs.php
[7/2/15 10:28:58 AM] Randy: Line 202-205
if ( isset($this->configs[‘addthis_rate_us_timestamp’])
&& $this->configs[‘addthis_rate_us_timestamp’] < $twoWeeksAgo
&& $configs[‘addthis_rate_us’] != ‘rated’
) {
[7/2/15 10:30:05 AM] Randy writes: The 3rd line where is says “$configs[‘addthis_rate_us’]” I think it should say “$this->configs[‘addthis_rate_us’]”.website is https://www.cofbooks.com
- The topic ‘Error: 'addthis_rate_us' line 204’ is closed to new replies.