Fatal error: Uncaught TypeError: substr(): Argument #1 ($string) must be of type string, int given in /home/betondek/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php:496
Stack trace:
#0 /home/betondek/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php(496): substr(4458, -24)
#1 /home/betondek/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php(469): WP_Rocket\ThirdParty\Plugins\CDN\Cloudflare->unregister_callback('deleted_post', 'purgeCacheByRel...')
#2 /home/betondek/public_html/wp-includes/class-wp-hook.php(353): WP_Rocket\ThirdParty\Plugins\CDN\Cloudflare->unregister_cloudflare_clean_on_post('')
#3 /home/betondek/public_html/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(NULL, Array)
#4 /home/betondek/public_html/wp-includes/plugin.php(523): WP_Hook->do_action(Array)
#5 /home/betondek/public_html/wp-settings.php(779): do_action('init')
#6 /home/betondek/public_html/wp-config.php(104): require_once('/home/betondek/...')
#7 /home/betondek/public_html/wp-load.php(50): require_once('/home/betondek/...')
#8 /home/betondek/public_html/wp-blog-header.php(13): require_once('/home/betondek/...')
#9 /home/betondek/public_html/index.php(17): require('/home/betondek/...')
#10 {main}
thrown in /home/betondek/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php on line 496
Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, WP_Error given in /home/betondek/public_html/wp-content/themes/hub/functions.php:21
Stack trace:
#0 /home/betondek/public_html/wp-content/themes/hub/functions.php(21): strpos(Object(WP_Error), 'The site is cur...')
#1 /home/betondek/public_html/wp-includes/functions.php(3890): {closure}(Object(WP_Error), '', Array)
#2 /home/betondek/public_html/wp-includes/class-wp-fatal-error-handler.php(245): wp_die(Object(WP_Error), '', Array)
#3 /home/betondek/public_html/wp-includes/class-wp-fatal-error-handler.php(156): WP_Fatal_Error_Handler->display_default_error_template(Array, Object(WP_Error))
#4 /home/betondek/public_html/wp-includes/class-wp-fatal-error-handler.php(60): WP_Fatal_Error_Handler->display_error_template(Array, Object(WP_Error))
#5 [internal function]: WP_Fatal_Error_Handler->handle()
#6 {main}
thrown in /home/betondek/public_html/wp-content/themes/hub/functions.php on line 21