Title: Runtime Error when editing
Last modified: July 4, 2024

---

# Runtime Error when editing

 *  Resolved [emiliopezaroglo](https://wordpress.org/support/users/emiliopezaroglo/)
 * (@emiliopezaroglo)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/)
 * At first, my problem was that when the Ecwid plugin was activated I couldn’t 
   edit my wordpress site (when it was deactivated, there were no problems). I got
   the error message ‘critical error, an email with details has been sent’ from 
   wordpress, but I never received the emails. Therefore I checked my server error
   logs in cpanel (I use WHC as a hosting service) and there were none. I then activated
   the debugging in wordpress in my wp-config.php file and this is the error which
   was logged: [04-Jul-2024 19:29:11 UTC] PHP Fatal error: ‘Maximum execution time
   of 30 seconds exceeded in /home/stickermania/public_html/wordpress/wp-includes/
   compat.php on line 473’. I tried updating my php version, deactivating all other
   plugins, changing theme, but nothing worked so I increased the maximum runtime
   in wp-config.php to 300:
 *     ```wp-block-code
       @ini_set('max_execution_time', '300');set_time_limit(300);
       ```
   
 * I can now access the editor in wordpress after a few minutes of loading. I have
   absolutely no clue why the scrip takes so long to run. How can I reduce the runtime?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Ilnur Basyrov](https://wordpress.org/support/users/meteor1ecwid/)
 * (@meteor1ecwid)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/#post-17870121)
 * Hi [@emiliopezaroglo](https://wordpress.org/support/users/emiliopezaroglo/)
 * This is Ilnur from Ecwid by Lightspeed team.
 * I’m sorry you’ve encountered a problem, we’re working on it. For now, please 
   use the previous version 6.12.13 as a temporary solution.
 * Regards,
 *  Thread Starter [emiliopezaroglo](https://wordpress.org/support/users/emiliopezaroglo/)
 * (@emiliopezaroglo)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/#post-17871492)
 * I downloaded the version 6.12.13 and tried to upload it to my wordpress but I
   get this error: ‘The uploaded file exceeds the upload_max_filesize directive 
   in php.ini.’ now. Do you know how to solve the issue?
 *  Thread Starter [emiliopezaroglo](https://wordpress.org/support/users/emiliopezaroglo/)
 * (@emiliopezaroglo)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/#post-17871512)
 * I solved the issue simply by going to the php options in my cpanel and increasing
   the upload_max_filesize which was 2MB. The editor opens with version 6.12.13 
   but is still considerably slower than without the plugin. Thank you for your 
   help.
    -  This reply was modified 1 year, 10 months ago by [emiliopezaroglo](https://wordpress.org/support/users/emiliopezaroglo/).
 *  [Ilnur Basyrov](https://wordpress.org/support/users/meteor1ecwid/)
 * (@meteor1ecwid)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/#post-17882737)
 * Hi [@emiliopezaroglo](https://wordpress.org/support/users/emiliopezaroglo/),
 * Just for information. We’ve released a new plugin version 6.12.15 that might 
   fix this problem. Feel free to upgrade to it. Let us know if it doesn’t solve
   the problem on your site.
 * Regards,
 *  Thread Starter [emiliopezaroglo](https://wordpress.org/support/users/emiliopezaroglo/)
 * (@emiliopezaroglo)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/#post-17883773)
 * It seems to solve the problem for me. Thank you for the update.
 *  [Ilnur Basyrov](https://wordpress.org/support/users/meteor1ecwid/)
 * (@meteor1ecwid)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/#post-17884449)
 * Thank you for your reply. We appreciate it!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Runtime Error when editing’ is closed to new replies.

 * ![](https://ps.w.org/ecwid-shopping-cart/assets/icon.svg?rev=3110860)
 * [Ecwid by Lightspeed Ecommerce Shopping Cart](https://wordpress.org/plugins/ecwid-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecwid-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecwid-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/ecwid-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecwid-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecwid-shopping-cart/reviews/)

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [runtime error](https://wordpress.org/support/topic-tag/runtime-error/)

 * 6 replies
 * 2 participants
 * Last reply from: [Ilnur Basyrov](https://wordpress.org/support/users/meteor1ecwid/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/runtime-error-when-editing/#post-17884449)
 * Status: resolved