New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a lead fails and throws error in log #1508

Closed
williamsdb opened this Issue Mar 7, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@williamsdb

williamsdb commented Mar 7, 2016

Description

Since updating to the latest version last week some leads no longer open. Nothing appears to happen but the following messages appear in the log:

[2016-03-07 20:42:59] mautic.WARNING: PHP Warning: require(/var/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticFormBundleEntityForm.php): failed to open stream: No such file or directory - in file /var/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207 [] []
[2016-03-07 20:42:59] mautic.ERROR: Fatal: require(): Failed opening required '/var/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticFormBundleEntityForm.php' (include_path='.:/usr/share/pear:/usr/share/php') - in file /var/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207 [] []

Get very similar error on same line when I try to open the plugins config page too:

[2016-03-07 20:47:14] mautic.ERROR: Fatal: require(): Failed opening required '/var/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php' (include_path='.:/usr/share/pear:/usr/share/php') - in file /var/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207 [] []

Steps to reproduce

Try and open a lead - nothing happens

@williamsdb

This comment has been minimized.

williamsdb commented Mar 9, 2016

This turned out to be a caching issue and was resolved by deleting:

app/cache/prod

Maybe the upgrade process should clear this by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment