• Hello

    I’ve noticed that the WordPress doesn’t do the tasks from the cron, so I’ve enabled the error log and I’ve got a message like in the topic’s title:
    “PHP Fatal error: Uncaught Error: Call to undefined function fastcgi_finish_request() in /…/wp-cron.php:28”
    That can’t be right, because in the line 22 there’s a “function_exists” which is checking if the fastcgi_finish_request exists.

    How can I fix this problem? The Php version is 7.4.10.

Viewing 1 replies (of 1 total)
  • Tyler

    (@tylerthedude)

    Here’s what I’m seeing within the PHP documentation regarding the function_exists() function:

    A function name may exist even if the function itself is unusable due to configuration or compiling options (with the image functions being an example).

    The function_exists() function works by checking every PHP file and stores all variables, functions, classes, etc into a hash table which are stored as key/value pairs. The PHP parser will then hash the function name you’re checking and compare that hash to each one in the hash table. If it matches, then it returns the boolean true, otherwise false. The same also applies to built-in functions which were compiled with PHP.

    I’d recommend reaching out to your hosting provider and get their thoughts on the matter.

Viewing 1 replies (of 1 total)
  • The topic ‘wp-cron crashes with the “Call to undefined function fastcgi_finish_request()”’ is closed to new replies.