Skip to content
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

reCaptcha plugin doesn't work with Mautic 2.3 #21

Open
ghost opened this issue Oct 17, 2019 · 5 comments
Open

reCaptcha plugin doesn't work with Mautic 2.3 #21

ghost opened this issue Oct 17, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Oct 17, 2019

I tried on my 2 accounts. Every time, after adding plugin on my server and clear cache files, Mautic show bug, that web is offline. When I delete plugin and clear cache again, Mautic work.

@KonstantinCodes
Copy link
Owner

@biggala2310 what's the error message?

@ghost
Copy link
Author

ghost commented Oct 18, 2019

At first my ftp server shows:

Invalid argument supplied for foreach() in /home/(my hosting)/mautic/.dftp/public_html/plugins/access.fs/class.fsAccessDriver.php (l.670)

However, if I repackage your plugin on my computer and package it again before send to ftp, server doesn't show this comment. But after throw files to plugin folder, rename folder and clear cache, site show:

The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator. System administrators, check server logs for errors. Uh oh! I think I broke it. If I do it again, please report me to the system administrator! 500 Internal Server Error

Server error logs show only:

2019-10-18 10:53:51.331193 [INFO] [21033] [my IP:HTTP2-1] Abort request processing by PID:21528, kill: 1, begin time: 4, sent time: 4, req processed: 0

One more info: I have got two mautic installations, on two others hosting. First one use PHP 5.6, second 7.3. Problem with extract is only on this first server. But both sites show 500 after plugin installation.

@KonstantinCodes
Copy link
Owner

KonstantinCodes commented Oct 18, 2019

That doesn't show the actual error. Can you please check the mautic error log?

@ghost
Copy link
Author

ghost commented Oct 18, 2019

[2019-10-18 11:39:29] mautic.WARNING: PHP Warning - require((server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file (server)/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {"className":"Mautic\\PluginBundle\\Entity\\Plugin","classMetadata":"[object] (Doctrine\\ORM\\Mapping\\ClassMetadata: Doctrine\\ORM\\Mapping\\ClassMetadataInfo@000000000882cdc4000000003195d5a7)","proxyClassName":"Proxies\\__CG__\\Mautic\\PluginBundle\\Entity\\Plugin","fileName":"(server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php"} []
[2019-10-18 11:39:29] mautic.WARNING: PHP Warning - require((server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file (server)/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {"className":"Mautic\\PluginBundle\\Entity\\Plugin","classMetadata":"[object] (Doctrine\\ORM\\Mapping\\ClassMetadata: Doctrine\\ORM\\Mapping\\ClassMetadataInfo@000000000882cdc4000000003195d5a7)","proxyClassName":"Proxies\\__CG__\\Mautic\\PluginBundle\\Entity\\Plugin","fileName":"(server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php"} []
[2019-10-18 11:39:29] mautic.ERROR: PHP Notice: require(): Failed opening required '(server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php' (include_path='.:/usr/local/php/5.6/5.6.40-dh15/lib/php') - in file (server)/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []
[2019-10-18 11:39:29] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required '(server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php' (include_path='.:/usr/local/php/5.6/5.6.40-dh15/lib/php') - in file (server)/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []
[2019-10-18 11:39:29] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: require(): Failed opening required '(server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php' (include_path='.:/usr/local/php/5.6/5.6.40-dh15/lib/php')" at (server)/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Compile Error: require(): Failed opening required '(server)/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php' (include_path='.:/usr/local/php/5.6/5.6.40-dh15/lib/php') at (server)/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"} []

@KonstantinCodes
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant