WordPress Script stops suddenly


I have programmed a php site which loops through posts (600 counting) and creates upon this new custom post entries. This script suddenly stops after 20-30 seconds without error or failure message (every “critical” code is surrounded by try catch error).

At beginning of the script I set these settings:

ini_set('max_execution_time', 0);'

But it still stops. If I loop through all posts without creating new post entries (just display of metadata), all posts are shown. What could be the problem?


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/wordpress-script-stops-suddenly/">

Wordpress Script stops suddenly</a>
, , Michael 2 months 0 Answers 71 views 0

Leave an answer