• Resolved Rudi

    (@radlrudi)


    Hi,
    I use WP Activity Log on some sites, and there I also have installed Independent Analytics. For debugging some other issues, I have deactivated all plugins. After reactivating, Independent Analytics creates a fatal error. After deactivating WP Activity Log (Premium), it is possible to activate Independent Analytics. And then I also can activate WP Acitvity Log.
    It is possible to reproduce this error. I have several sites with both plugins, and it is the same on all sites. So I reached out to Melapress support, and they had a look to my debug log. See the answer here:

    […]
    However, upon checking the debug log which you have sent, I noticed only one interesting thing, which is coming from the Analytics plugin (see below)

    [07-May-2024 07:58:44 UTC] PHP Fatal error: Cannot declare class Composer\InstalledVersions, because the name is already in use in /home/wp/disk/wordpress/wp-content/plugins/independent-analytics/vendor/composer/InstalledVersions.php on line 26

    This fatal error is most probably the one that prevents the Analytics plugin from being enabled, and I would check this if possible with the developers of this plugin, as they might have more insights/clues on how to deal with this?

    Up until this stage, there’s nothing we can do from our side, but I am curious to see what their perspective is on this, once you present them with the full picture.

    I hope this was useful, and feel free to reach out once you have a confirmation from them in regards to that error and the context in which is happening!
    […]

    Probably it would be the best, if You could connect directly with Melapress Support …
    Many thanks!

    Best regards,
    Rudi

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    Hi Rudi,

    Thanks for getting in touch about this.

    We have seen this error before, and it appears to have been fixed in version 4.6.0 of WP Activity Log. If you’re running an earlier version, please try updating and it should resolve the error.

    Thread Starter Rudi

    (@radlrudi)

    Hi Ben,

    I use the latest Version of WP Activity Log (Premium) 4.6.4.1.

    Best regards,
    Rudi

    Plugin Author Ben Sibley

    (@bensibley)

    I can recreate the same error with the free version of WP Activity Log running version 4.5.3, but when running version 4.6.4 of WP Activity Log, the error is resolved.

    Can you make sure you’re running version 2.4.3 of Independent Analytics? Otherwise, try switching to 4.6.4 of the free WP Activity Log plugin and please confirm that it is working on your site. Then try activating version 4.6.4 of the premium WAL plugin. Lastly, return to version 4.6.4.1. This will let us figure out if the error is only in the premium version or if was reintroduced in the latest update.

    Thread Starter Rudi

    (@radlrudi)

    Hi Ben,
    I was again in contact with Melapress support. They could repoduce the error. This is their answer:

    The problem and fix should be handled somewhere in the PHP scoper scoper-autoload.php , more specifically below:

    $installedVersionsPath = DIR.’/composer/InstalledVersions.php’;
    if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;

    This is something we have no control over through our plugin, but if this is handled correctly, that fatal error should no longer happen.

    Best regrads,
    Rudi

    Plugin Author Ben Sibley

    (@bensibley)

    Rudi,

    This error isn’t present when using version 2.4.3 of Independent Analytics and version 4.6.4 of WP Activity Log (screenshot). This error is present when using an older version of WP Activity Log (4.5.3), so they must have made a change already that resolves the error in the free version.

    First, make sure you’re using version 2.4.3 of Independent Analytics. Next, try switching to version 4.6.4 of WP Activity Log Premium. This will confirm whether the bug was reintroduced in version 4.6.4.1. Next, try activating version 4.6.4 of the free WP Activity Log plugin. This will confirm whether the error is in the premium version or if it is only in the latest version 4.6.4.1, which is not available for the free version.

    Both of our plugins are already taking steps to avoid this type of error, but since it was present in their plugin and then fixed, I think the most important thing to do is to establish clearly which versions are working and which ones aren’t. That will give us more direction to work with as well.

    Thread Starter Rudi

    (@radlrudi)

    Hi Ben,

    I tried as You asked. Of course I used the latest version 2.4.3 of Independent Analytics.

    With the free version 4.6.4 the all works, but with Premium version the error also exists with version 4.6.4.

    Best regards,
    Rudi

    Plugin Author Ben Sibley

    (@bensibley)

    Okay thank you for trying those steps. We are reaching out to them now about testing with the premium version of their plugin.

    Thread Starter Rudi

    (@radlrudi)

    Hi Ben,

    Melapress support answered:

    We got in touch directly with the developers on Independent Analytics, and we will surely look into this glitch together now.

    Thank you for mediating this and for the feedback and rest assured things will get for the best soon!

    Please keep me informed about the progress.

    Many thanks!

    Best regards,
    Rudi

    Plugin Author Ben Sibley

    (@bensibley)

    Hi Rudi,

    Thanks for your patience with this. We were finally able to track down the root cause of the issue and we have a fix on the way. It will be resolved in the next update, which will be available in the next 48 hours.

    Thread Starter Rudi

    (@radlrudi)

    Hi Ben,

    Many thanks for this!

    Best regards,
    Rudi

    Plugin Author Ben Sibley

    (@bensibley)

    You’re welcome! I’m glad we could get this resolved for you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal error after reactivating’ is closed to new replies.