Google Analytics

There is a small BUG in the extension. - Google Analytics

There is a small BUG in the extension.

by Anonymous » Mon Aug 27, 2018 2:37 pm

Hello everyone.

In the listener.php file, the line 128 creates a PHP WARNING when another extension makes a call to the 'core.validate_config_variable' event.
The solution would be this.

To locate.

Code: Select all

$input = $event['cfg_array']['googleanalytics_id'];
Change for.

Code: Select all

$input = isset($event['cfg_array']['googleanalytics_id']) ? $event['cfg_array']['googleanalytics_id'] : '';    
Greetings.
Anonymous
I am too lazy to register
Posts: 3128
Joined: Thu Mar 15, 2007 6:50 am
Contact: