MyBB Community Forums
Error Google Analytics and Google Universal Analytics - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: Error Google Analytics and Google Universal Analytics (/thread-230013.html)



Error Google Analytics and Google Universal Analytics - Mjniu - 2020-11-02

Hello, when uploading the plugins all the plugins that I have installed disappear, I delete the googleanalytics.php file from the plugins folder and the plugins that I have installed appear again, I leave an image for you to see.

Versión de MyBB 1.8.24
Versión PHP 7.1.33

The plugin is this of the user @juventiner

[Image: f_76030b783315.png]


error with googleanalytics.php

[Image: f_65787107fb46.png]


RE: Error Google Analytics and Google Universal Analytics - Crazycat - 2020-11-02

A { is missing in function googleanalytics, just after if($mybb->settings['googleanalytics_status'] == 1 && ($user['DisableGoogleAnalytics'] == 0 || $mybb->settings['googleanalytics_allow_to_hide'] == 0) &&!is_member($mybb->settings['googleanalytics_settings_groups_disable_tracking'], $mybb->user['uid'])) (line 195)


RE: Error Google Analytics and Google Universal Analytics - Mjniu - 2020-11-02

(2020-11-02, 07:29 AM)Crazycat Wrote: A { is missing in function googleanalytics, just after if($mybb->settings['googleanalytics_status'] == 1 && ($user['DisableGoogleAnalytics'] == 0 || $mybb->settings['googleanalytics_allow_to_hide'] == 0) &&!is_member($mybb->settings['googleanalytics_settings_groups_disable_tracking'], $mybb->user['uid'])) (line 195)
That was the problem, thank you very much.