Hi. When trying to install the portfolio demo I receive the following error: Maximum execution time of 29 seconds exceeded in /var/www/vhosts/catherinebargh.com/httpdocs/wp-includes/class-wp-image-editor-imagick.php on line 510
I have increased the maximum execution time in the php settings on the server but it still won’t work. Any ideas please?
I hope you are well today and thank you for your question.
Yes you are right it is Maximum execution time that is causing this issue.
Please try fixing it using the solutions posted in the following pages.
If it doesn’t get increase then please contact your web host to increase it.
I have tried all of these solutions, but they don’t work. Even though the execution time has been set to 120 on the server, plus I installed the plugin from your link above, but the error is the same. I have asked the host what else could be forcing the 29 second error.
Response from the web host below – is there anything else in WordPress which could be stopping the script?
Thanks for the details. I have been able to replicate this and it does appear to time out after 29 seconds. However I have created a simple test page to test the execution time at http://catherinebargh.com/php_execution_test.php. This
simply sleeps for 40 seconds and prints out some text which is successful.
This shows that something within the application is reducing the max_execution_time to 29 seconds.
Then in this case you can install demo content by downloading it.
You can download demo content from this page http://remote.demos.shufflehound.com/jevelin/files/?key1=z36o8EFW70&key2=8a5s50F94Au8&td=3544a
After downloading demo zip file you have to add it on the path wp-content/uploads/fw-backup in your WordPress install.
Then that zip file can be installed from Tools > Backup by restoring backup.
Please note this action is not revertible and it deletes all the existing content on your site so please is required take backup of your site before importing demo content.