Today when its happen again (It was happen after a long time), and when seeing logs, I notice “PHP Fatal error: Allowed memory size of 367001600 bytes exhausted (tried to allocate 168043322 bytes) in /wp-content/plugins/event-espresso-core-reg/core/EE_Error.core.php on line 994” is coming continuously. The code is something like this:
Getting the file content and then merge the new exception at the end is losing the php memory since the error log become too large about 160MB, so you must update the code and must write just the new exception to the file without getting , you may use file_put_contents with flag FILE_APPEND, If file filename already exists, append the data to the file instead of overwriting it.
But we still not get such case that’s changing the invoice method.
Can you delete the log file there in the /wp-content/uploads/espresso/logs, then go to Event Espresso > Payment methods > Invoice setting. Instead of deactivating the Invoice payment method there, you can uncheck the box next to Front-end Registration Page and leave the box checked next to Admin Registration Page (no online processing).
Thanks for your reply, I deleted the log file. I don’t understand your next step “Instead of deactivating the Invoice payment method there, you can uncheck the box next to Front-end Registration Page and leave the box checked next to Admin Registration Page (no online processing).”
We are using paypalExpress for payments, we can not leave the invoice method active. So the Paypal Express must be active always. Our question is why this deactivated automatically?
You can leave the invoice method active, but keep it deactivated for the front-end (admin only) by following these steps:
Go to Event Espresso > Payment methods > PayPal Express
Click on the “Activate PayPal Express Payment Method” button if not currently activated.
Go to Event Espresso > Payment methods > Invoice settings
Uncheck the box next to Front-end Registration Page
Check the box next to Admin Registration Page (no online processing)
Click the Update Invoice Payment Settings button
We face it again, the Paypal Express deactivated and invoice remains active and Front-end Registration Page also checked.
When I am seeing System Information under Maintenance, it shows the time of core plugin activation, the last activation is 2018-01-01 11:41:05, it mean the core plugin reactivated when the paypal express is deactivated.
Can you please let us know why it is reactivated automatically.
From the Espresso log, also getting this error continuesly:
Are you or someone else deactivating then reactivating the core plugin, or is happening automatically without anyone making changes to the WP dashboard/server?
@Josh its so sad, we are talking on this from months and you still asking is the EE core plugin automatically reactivating. As I already explained you the paypal express payment is disabled automatically and invoice method become active. In your last response you told me to enable invoice and off for front-end, We did the same, but its happen again and paypal express deativated, when I visit the site the front-end option also become enable for invoice which we uncheck as per your suggestion.
And when I am seeing the Site Status under maintenance, in the area of EE core plugin details, where it shows the plugin version number and activation time, we notice there is new activation time added 2018-01-01 11:41:05, that’s why I am saying the core plugin is going auto reactivated and the payment method changed.
Its my thought that the plugin reactivating, you better know what is causing it.
Please help us.
Thanks
Mark
Is this happening at set intervals? You mentioned previously its happening every week, but is it around the same day/time each time?
If so its something scheduled on the server, it would be either WP Cron or an actual Cron job. I know you mentioned you don’t have any set up, but are you sure your hosting is running specific scripts each week and that’s when this happens?
What type of hosting are you using?
I don’t have any idea why Event Espresso would show a re-activation, we don’t automatically re-activate EE like the above and I’m not running into this problem on any of my test sites (I have a lot of them on various different hosting setups). So it’s most likely something specific to that site/server setup. However, what that may be I don’t know.
Did this happen on your old hosting as well or is it only since you moved to the new one?
Viewing 10 reply threads
The support post ‘Invoice method auto-activated from Paypal Express’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.