Conversation
supportHi, We are having error when tried to activate the plugin. Fatal error: Cannot use object of type motech_spacer as array in /home3/ibcllc/public_html/thedeedxchange.com/wp-content/plugins/tracking-script-manager/tracking-scripts-manager.php on line 502 Please advice. Thanks https://wordpress.org/plugins/tracking-script-manager/
Do you happen to have this plugin installed on your site as well? https://wordpress.org/plugins/spacer/ It seems that is using the same variable ($class) as we are, but it is turning it into an object instead of an array. Thus giving that error.
Thanks. Yes, I found the conflict with that plugin. I take it down already.
So you can activate it now? Or are you still getting the error even after removing that plugin?
Yes, all good without the Spacer plugin.
Great! I’m going to go ahead and mark this as resolved.
Hello, I suggest changing line 502 from: $class['Tracking_Scripts'] = new Tracking_Scripts() ; for: $classTrackingScripts = new Tracking_Scripts(); So you will hardly have conflicts with other plugins. Apparently this will not affect the operation of your plugin. Att, Fernando Santana
Do you happen to have this plugin installed on your site as well? https://wordpress.org/plugins/spacer/ It seems that is using the same variable ($class) as we are, but it is turning it into an object instead of an array. Thus giving that error.
Thanks. Yes, I found the conflict with that plugin. I take it down already.
So you can activate it now? Or are you still getting the error even after removing that plugin?
Yes, all good without the Spacer plugin.
Great! I’m going to go ahead and mark this as resolved.
Hello, I suggest changing line 502 from: $class['Tracking_Scripts'] = new Tracking_Scripts() ; for: $classTrackingScripts = new Tracking_Scripts(); So you will hardly have conflicts with other plugins. Apparently this will not affect the operation of your plugin. Att, Fernando Santana