Fatal error: Uncaught Error: substr(): Argument #1 ($string) must be of type string, int given
in /home/arvingr3/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php on line 496

Call stack:

  1. substr(6331, -24)
    wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php:496
  2. WP_Rocket\T\P\C\Cloudflare::unregister_callback('deleted_post', 'purgeCacheByRelevantURLs')
    wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php:469
  3. WP_Rocket\T\P\C\Cloudflare::unregister_cloudflare_clean_on_post('')
    wp-includes/class-wp-hook.php:353
  4. WP_Hook::apply_filters(NULL, array)
    wp-includes/class-wp-hook.php:377
  5. WP_Hook::do_action(array)
    wp-includes/plugin.php:523
  6. do_action('init')
    wp-settings.php:779
  7. require_once('/home/arvingr3/public_html/wp-settings.php')
    wp-config.php:99
  8. require_once('/home/arvingr3/public_html/wp-config.php')
    wp-load.php:50
  9. require_once('/home/arvingr3/public_html/wp-load.php')
    wp-blog-header.php:13
  10. require('/home/arvingr3/public_html/wp-blog-header.php')
    index.php:17

Query Monitor


Fatal error: Uncaught TypeError: substr(): Argument #1 ($string) must be of type string, int given in /home/arvingr3/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php:496 Stack trace: #0 /home/arvingr3/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php(496): substr(6331, -24) #1 /home/arvingr3/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/arvingr3/public_html/wp-includes/class-wp-hook.php(353): WP_Rocket\ThirdParty\Plugins\CDN\Cloudflare->unregister_cloudflare_clean_on_post('') #3 /home/arvingr3/public_html/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(NULL, Array) #4 /home/arvingr3/public_html/wp-includes/plugin.php(523): WP_Hook->do_action(Array) #5 /home/arvingr3/public_html/wp-settings.php(779): do_action('init') #6 /home/arvingr3/public_html/wp-config.php(99): require_once('/home/arvingr3/...') #7 /home/arvingr3/public_html/wp-load.php(50): require_once('/home/arvingr3/...') #8 /home/arvingr3/public_html/wp-blog-header.php(13): require_once('/home/arvingr3/...') #9 /home/arvingr3/public_html/index.php(17): require('/home/arvingr3/...') #10 {main} thrown in /home/arvingr3/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/CDN/Cloudflare.php on line 496