• WordPress version 6.1
    Current plugin: Auto Smart Thumbnails (version 1.1.4)
    PHP version 7.4.32

    I run an image gallery website using FooGallery.

    Whenever I load the admin gallery pages, I keep encountering this error.

    This started happening after updating to WP 6.1

    An error of type E_ERROR was caused in line 296 of the file /xxx/wp-content/plugins/auto-smart-thumbnails/inc/class-ast-face-detector.php. Error message: Maximum execution time of 60 seconds exceeded

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

    (@qiuliu)

    Praveen, can you try to increase ‘max_execution_time’ in php.ini? e.g. set it to 120.

    Please refer to this answer:
    https://stackoverflow.com/questions/1420249/maximum-execution-time-of-60-seconds-exceeded-error

    Thread Starter Praveen Kumar

    (@spk100)

    @qiuliu

    Increased it to 120 and it works now.

    But for the record, before WordPress 6.1, it was at only 30 and I did not face any issues.

    After upgrading to 6.1, I increased it to 60 and now 120.

    Thread Starter Praveen Kumar

    (@spk100)

    The issue is back. This time whenever I try to upload images, the plugin uses up the server resources and breaks.

    Disabling the plugin works fine. But once I enable it back and try doing the same, the server usage goes up.

    qiuliu

    (@qiuliu)

    If you want to dig into the problem, please follow the question “I run into problems. What can I do?” in the FAQ session, turn on debug and log the debug info. Also how many pictures do you have, what theme are you using and how many custom thumbnails does your theme create.

    Thread Starter Praveen Kumar

    (@spk100)

    Hi,
    I use Soledad theme.
    I use Foogallery pro as part of my site and I have more than 200,000 images.

    qiuliu

    (@qiuliu)

    That doesn’t help much.

    Also I guess it may have upset you that things broke. But then it’s not the author’s fault. You can simply stop using it and uninstall it. After all you said “Disabling the plugin works fine.”

    With that said, I might try to look into it during the X’mas break. It helps if you can get the debug info.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Maximum execution exceeded’ is closed to new replies.