Conversation
support[04-Jun-2024 12:30:55 UTC] PHP Fatal error : Uncaught Error: Call to undefined function register_tick_function() in /www/wp-content/plugins/code-profiler/lib/class-profiler.php:136 [04-Jun-2024 12:31:53 UTC] Rescheduled Cron event error for anchor: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60} [04-Jun-2024 12:36:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined function register_tick_function() in /www/wp-content/plugins/code-profiler/lib/class-profiler.php:136 Stack trace: 0 /www/wp-content/plugins/code-profiler/lib/class-profiler.php(265): CodeProfiler_Profiler->__construct() 1 /www/wp-content/mu-plugins/0—-code-profiler.php(27): include_once(‘…’) 2 /www/wp-settings.php(442): include_once(‘…’) 3 /www/wp-config.php(94): require_once(‘…’) 4 /www/wp-load.php(50): require_once(‘…’) 5 /www/wp-admin/admin.php(34): require_once(‘…’) 6 /www/wp-admin/index.php(10): require_once(‘…’) 7 {main} /www/wp-content/plugins/code-profiler/lib/class-profiler.php on line 136 I install CodeProfiller from WordPress 6.5.3 Apache/2.4.38 PHP 8.3.7
Your PHP interpreter doesn’t have the register_tick_function function. That function is available in all PHP versions since 4.x. Did you disable it? Or maybe your host did it?
I explore problem with register_tick_function on my hosting provider. But YES, my hosting provider has disabled function register_tick_function . The reason they say: register_tick_function is disabled due to security issue.
I don’t know why they consider it a security issue, but if they disabled it, you can’t use the profiler. Did you try to install a copy of your website on your local computer? That way, you could use the profiler.
Your PHP interpreter doesn’t have the register_tick_function function. That function is available in all PHP versions since 4.x. Did you disable it? Or maybe your host did it?
I explore problem with register_tick_function on my hosting provider. But YES, my hosting provider has disabled function register_tick_function . The reason they say: register_tick_function is disabled due to security issue.
I don’t know why they consider it a security issue, but if they disabled it, you can’t use the profiler. Did you try to install a copy of your website on your local computer? That way, you could use the profiler.