Support » Plugin: Google Analyticator » Fatal error, resolved at last

  • Resolved meksone


    Hi, I’ve been using Google Analyticator version 6.4 and after some plugin updates the dashboard plugin shows me this error:
    Fatal error: Cannot redeclare class URI_Template_Parser in /var/www/vhosts/ on line 30

    So, I’ve take a look around here in the forum; the first post marked SOLVED has the same (more or less) problem of mine but it didn’t resolve so much for me.

    Then I decided to play a little bit with the file URITemplateParser.php. I’ve discovered that the class isn’t in a if statement (but somewhere in this forum I’ve read the opposite thing…) so I’ve added this code just before the “class”

    if(class_exists('TestClass') != true)

    then, at the very end of the file, i’ve put another } and ta dah! it works again!

    I hope is useful for someone

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error, resolved at last’ is closed to new replies.