• When I launch the migration from LearnDash, after a while I receive this error message:

    [17-Jul-2025 07:03:06 UTC] PHP Fatal error: Maximum execution time of 300 seconds exceeded in /Users/matteo/Sites/fisioscience-tutorlms/wp-includes/class-wpdb.php on line 2351

    The loading bar completes quickly, but it doesn’t import the courses. I have 229 courses and 595 lessons on LearnDash.

    I’m using version: 2.3.1

    PHP 8.3 has this configuration:

    memory_limit at 512M
    post_max_size at 256M
    upload_max_filesize at 256M
    max_execution_time at 300

Viewing 1 replies (of 1 total)
  • Hey @metalinedev ,

    Thank you for reaching out! The error message you’re encountering indicates that the migration process is taking longer than the allowed execution time set on your server.

    Since you’re migrating a large amount of data , it’s quite likely that the process needs more time to complete. Have you tried increasing the max_execution_time in your PHP settings? For large migrations, I would recommend setting it to at least 900 seconds , or even higher depending on your server’s capabilities. After increasing the limit, try the migration again and monitor if it completes successfully.

    Let us know how it goes.

Viewing 1 replies (of 1 total)

The topic ‘PHP Fatal error’ is closed to new replies.