Title: Maximum execution time error
Last modified: August 20, 2019

---

# Maximum execution time error

 *  Resolved [hungrycactus](https://wordpress.org/support/users/hungrycactus/)
 * (@hungrycactus)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/maximum-execution-time-error-4/)
 * Hi — I have a Raspberry Pi 3 (latest Raspbian on Buster, WordPress latest 5.2.2,
   PHP 7.3, very small WordPress site (<100 posts)). First time using this plugin
   and running into this error in the Apache/PHP logs:
 * Fatal error: Maximum execution time of 1500+2 seconds exceeded (terminated) in/
   var/www/html/wp-content/plugins/media-cleaner/core.php on line 254
 * Which the code does this:
 * // PDF
    preg_match_all( “/((https?:\/\/)?[^\\&\#\[\] \”\?]+\.pdf)/”, $html, $
   res );
 * I have tried the instructions here: [https://meowapps.com/media-cleaner-debug-issues/](https://meowapps.com/media-cleaner-debug-issues/)
   but to no avail. Has anyone ever gotten this plugin to work on the Raspberry 
   Pi 3? Much appreciated!
    -  This topic was modified 6 years, 9 months ago by [hungrycactus](https://wordpress.org/support/users/hungrycactus/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/maximum-execution-time-error-4/#post-11936954)
 * Hello,
 * Your maximum execution code is very short, and you are running a system that 
   can be rather big for a Raspberry Pi 3. You will need to dig into everything 
   in order to optimize all the processes at their maximum. Media Cleaner is already
   quite well optimized, so the only solution I see would be to modify the maximum
   execution time and also unload the plugins you don’t really need during the scan.

Viewing 1 replies (of 1 total)

The topic ‘Maximum execution time error’ is closed to new replies.

 * ![](https://ps.w.org/media-cleaner/assets/icon-256x256.png?rev=2791576)
 * [Media Cleaner: Clean your WordPress!](https://wordpress.org/plugins/media-cleaner/)
 * [Support Threads](https://wordpress.org/support/plugin/media-cleaner/)
 * [Active Topics](https://wordpress.org/support/plugin/media-cleaner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-cleaner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-cleaner/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/maximum-execution-time-error-4/#post-11936954)
 * Status: resolved