Latest release causes critical error
-
Hello,
The update released today causes a critical error when loading analytics on a multi-site setup.
-
Found to be an incompatibility with Media Cloud
[26-Mar-2024 19:28:45 UTC] PHP Fatal error: Uncaught BadMethodCallException: Method MediaCloud\Vendor\Illuminate\Support\Collection::escapeWhenCastingToString does not exist. in /home/WEBSITE/wp-content/plugins/ilab-media-tools/lib/mcloud-illuminate/support/Traits/Macroable.php:103
Stack trace: 0 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/IAWP/Report_Finder.php(123): MediaCloud\Vendor\Illuminate\Support\Collection->__call() 1 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/IAWP/Report_Finder.php(20): IAWP\Report_Finder->by_type() 2 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/temp/template-cache/partials.sidebar_45e5b809045eaa5db51607c447d9b922e0cc4c15.bladec(65): IAWP\Report_Finder->fetch_page_reports() 3 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/vendor/eftec/bladeone/lib/BladeOne.php(1501): include(‘/home/…’) 4 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/vendor/eftec/bladeone/lib/BladeOne.php(1192): IAWPSCOPED\eftec\bladeone\BladeOne->evaluatePath() 5 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/vendor/eftec/bladeone/lib/BladeOne.php(2009): IAWPSCOPED\eftec\bladeone\BladeOne->runInternal() 6 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/IAWP/Admin_Page/Admin_Page.php(35): IAWPSCOPED\eftec\bladeone\BladeOne->run() 7 /home/WEBSITE/wp-content/plugins/independent-analytics-pro/IAWP/Independent_Analytics.php(102): IAWP\Admin_Page\Admin_Page->render() 8 /home/WEBSITE/wp-includes/class-wp-hook.php(324): IAWP\Independent_Analytics->IAWP{closure}() 9 /home/WEBSITE/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 10 /home/WEBSITE/wp-includes/plugin.php(517): WP_Hook->do_action() 11 /home/WEBSITE/wp-admin/admin.php(259): do_action() 12 {main}thrown in /home/WEBSITE/wp-content/plugins/ilab-media-tools/lib/mcloud-illuminate/support/Traits/Macroable.php on line 103
-
This reply was modified 2 years, 2 months ago by
dev.
Hi there,
Thanks for bringing this error to our attention. We’re looking into this now, and I’ll be in touch with a solution soon.
This conflict with Media Cloud is going to take us longer than expected to resolve, so I’m going to recommend you rollback to version 2.2.1 of Independent Analytics. This way, you can continue using the analytics until we release a patch.
I’m the author of Media Cloud. Do you know what the specific issue is?
This error is now resolved in version 2.3.1.
@interfacelab there was a conflict with the Illuminate library used by both our plugins. We opened a related ticket with PHP Scoper about this, but for now we’ve resolved the issue with a patch.
-
This reply was modified 2 years, 2 months ago by
The topic ‘Latest release causes critical error’ is closed to new replies.