• Resolved reporter500

    (@reporter500)


    I’m using this plugin in my wordpress site and I’m getting an E_COMPILE_ERROR on the plugin page while in Recovery Mode.

    “/home/……/public_html/wp-content/plugins/analytics-insights/tools/vendor/guzzlehttp/psr7/src/Uri.php. Error message: Declaration of Deconf\AIWP\GuzzleHttp\Psr7\Uri::getScheme() must be compatible with Psr\Http\Message\UriInterface::getScheme(): string”

    WordPress version 6.2.2
    Active theme: YOOtheme (version 4.0.0)
    Current plugin: Analytics Insights for Google Analytics 4 (AIWP) (version 5.8.6)
    PHP version 8.1.18

    • This topic was modified 1 year, 10 months ago by reporter500.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Alin Marcu

    (@deconf)

    Hi,

    I think there may be a plugin conflict. Please follow the Plugin Conflicts section to identify the conflicting plugin.

    Let me know which plugin is conflicting and I will have a look.

    Thread Starter reporter500

    (@reporter500)

    Hi Alin,

    I’ve deactivated all my plugins and the error persisted. I then switched my theme and the error went away. It seems the plugin has an issue with the latest YooTheme version. What should I do next?

    Plugin Author Alin Marcu

    (@deconf)

    Since that’s a premium theme, not supported here, you should open a ticket and recommend them to prefix namespaces and classnames in PHP files to avoid autoloading collisions. Otherwise the risk of conflicts on WordPress environment is very high.

    On the other hand I will check and see why the script I’m using isn’t prefixing PSR too. I will keep you updated. To avoid collisions we already prefixing namespaces, but for some reason PSR isn’t prefixed.

    Thread Starter reporter500

    (@reporter500)

    Thank you Alin. I’ve reached out to the theme developer email, but I don’t expect much traction. Do you think this is something you can fix on your end in short order?

    Plugin Author Alin Marcu

    (@deconf)

    Hi,

    Update to 5.8.8 and let me know if it have been fixed, it should have.

    Thread Starter reporter500

    (@reporter500)

    You rock! Yes, that fixed it. Thanks so much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dashboard Not Working – Plugin Error’ is closed to new replies.