• Resolved janik.otto

    (@janikotto)


    Currently I am getting this error when I try to activate the plugin:

    Fatal error: Call to undefined method Composer\Autoload\ClassLoader::set() in /wp-content/plugins/wp-statistics/vendor/composer/autoload_real.php on line 3

    The Stats plugin itself worked some months ago, but sadly I had uninstalled it for testing, then forgot to reactivate it. Now this…

    https://ww.wp.xz.cn/plugins/wp-statistics/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    Sounds like your missing one of the libraries that the GeoIP code requires, try disabling the GeoIP code and see if it works.

    Thread Starter janik.otto

    (@janikotto)

    I’ve noticed your new update which contained this:

    “Added: Check for PHP’s Safe Mode as the GeoIP code does not function with it enabled.”

    Sadly, I’m still getting my “Composer-Error”. What exactly should I remove or disable?

    Thread Starter janik.otto

    (@janikotto)

    Okay, I’ve simply commented the mentioned line, which seems to help for now 🙂

    Plugin Contributor Greg Ross

    (@gregross)

    What line did you comment out?

    Thread Starter janik.otto

    (@janikotto)

    Line 31 in the file mentioned above. I just noticed there’s just “line 3”. I am sorry.

    Plugin Contributor Greg Ross

    (@gregross)

    What version of PHP are you running?

    Plugin Contributor Greg Ross

    (@gregross)

    Closing thread due to inactivity.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Composer Error’ is closed to new replies.