nystudio107 / craft-webperf

Webperf helps you build & maintain high quality websites through Real User Measurement of your website's performance
https://nystudio107.com/plugins/webperf
Other
25 stars 2 forks source link

Getting Invalid path alias error since uninstalling #56

Open peteeveleigh opened 4 days ago

peteeveleigh commented 4 days ago

Question

Hey there

We are getting an error showing in the logs of a site where Webperf was installed but has since been removed. Looks like it's possibly related to some compiled JS that is hanging around, but we can't find any trace of it anywhere on the site.

The error message is

yii\base\InvalidArgumentException: Invalid path alias: @nystudio107/webperf/assetbundles/boomerang/dist/js in /home/forge/www.domain.com/vendor/yiisoft/yii2/BaseYii.php:154 Stack trace: #0 /home/forge/www.domain.com/vendor/craftcms/cms/src/web/Application.php(530): yii\BaseYii::getAlias() #1 /home/forge/www.domain.com/vendor/craftcms/cms/src/web/Application.php(163): craft\web\Application->_processResourceRequest() #2 /home/forge/www.domain.com/vendor/yiisoft/yii2/base/Application.php(384): craft\web\Application->handleRequest() #3 /home/forge/www.domain.com/web/index.php(21): yii\base\Application->run() #4 {main}

Have tried clearing caches, reinstalling and uninstalling, rebuilding the site assets etc. All with no luck.

Have you any idea where this might be coming from and how we can eliminate it?

khalwat commented 4 days ago

If you look in your vendor/nystudio107/ directory, do you see craft-webperf at all?

peteeveleigh commented 4 days ago

Nope. Screenshot 2024-09-17 at 17 45 27

Likewise, if I search the entire project for the string 'webperf' or 'boomerang' there is nothing.

khalwat commented 4 days ago

I'm guessing this is cached somewhere -- maybe clear your Craft Template Caches?

peteeveleigh commented 3 days ago

Already tried clearing every cache I can find.

I'm wondering if something got compiled with Weperf installed but since then something has prevented it recompiling.

Will also check something isn't being cached on Cloudflare

khalwat commented 3 days ago

Yep certainly could be something cached in CloudFlare as well.