Can't access to Plugin area

On 2 March 2016 we have updated Mautic to the last suggested version, after this the “Plugin” link on the righ doesnt show the plugin area anymore.

In the log we have these erors:



[2016-03-03 09:09:10] mautic.WARNING: PHP Warning: require(/htdocs/public/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file /htdocs/public/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207 [] []

[2016-03-03 09:09:10] mautic.ERROR: Fatal: require(): Failed opening required ‘/htdocs/public/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) - in file /htdocs/public/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207 [] []



Can anybody please support ?



Thanks very much

Hi!

These all sound like issues with the cache. If you’ve manually cleared cache or done so in another way then there is a good chance that the cache folders have been “owned” by another user now and Mautic doesn’t have read/write access. The quickest fix is to verify from CLI that the app/cache folder is owned by the web user (and of course any folders inside that folder).

Hope this helps and solves the issues for you!

Alternatively you can always delete these folders, check ownership and let Mautic rebuild the cache for you.

the solution is to delete the cache via the console “php app/console cache:clear,” just delete the cache of FTP does not work

I have the same problem. The files are created, even after clearing the cache. Can someone direct

I have the same problem:

Fatal error: require(): Failed opening required ‘/home/vital2/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/vital2/public_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 207

Can anyone helps us?
Thanks

On 2 March 2016 we have updated Mautic to the last suggested version, after this the “Plugin” link on the righ doesnt show the plugin area anymore.
In the log we have these erors:

[2016-03-03 09:09:10] mautic.WARNING: PHP Warning: require(/htdocs/public/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file /htdocs/public/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207 [] []
[2016-03-03 09:09:10] mautic.ERROR: Fatal: require(): Failed opening required ‘/htdocs/public/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) - in file /htdocs/public/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207 [] []

Can anybody please support ?

Thanks very much

Correct! Because if you just delete the cache the ownership changes automatically. :slight_smile: Glad it’s sorted!