• As soon as I enable the plugin I get a critical error. Deleting the plugin solves the issue. Here is the debug log entry:

    [03-Oct-2022 19:17:43 UTC] PHP Fatal error:  Uncaught TypeError: array_push(): Argument #1 ($array) must be of type array, null given in .../wp-content/plugins/bunnycdn/inc/bunnycdnFilter.php:31
    Stack trace:
    #0 .../wp-content/plugins/bunnycdn/inc/bunnycdnFilter.php(31): array_push()
    #1 .../wp-content/plugins/bunnycdn/bunnycdn.php(67): BunnyCDNFilter->__construct()
    #2 .../wp-includes/class-wp-hook.php(307): doRewrite()
    #3 .../wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #4 .../wp-includes/plugin.php(476): WP_Hook->do_action()
    #5 .../wp-includes/template-loader.php(13): do_action()
    #6 .../wp-blog-header.php(19): require_once('...')
    #7 .../index.php(17): require('...')
    #8 {main}
      thrown in .../wp-content/plugins/bunnycdn/inc/bunnycdnFilter.php on line 31
    [03-Oct-2022 19:17:43 UTC] PHP Fatal error:  Uncaught TypeError: array_push(): Argument #1 ($array) must be of type array, null given in .../wp-content/plugins/bunnycdn/inc/bunnycdnFilter.php:31
    Stack trace:
    #0 .../wp-content/plugins/bunnycdn/inc/bunnycdnFilter.php(31): array_push()
    #1 .../wp-content/plugins/bunnycdn/bunnycdn.php(67): BunnyCDNFilter->__construct()
    #2 .../wp-includes/class-wp-hook.php(307): doRewrite()
    #3 .../wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #4 .../wp-includes/plugin.php(476): WP_Hook->do_action()
    #5 .../wp-includes/template-loader.php(13): do_action()
    #6 .../wp-blog-header.php(19): require_once('...')
    #7 .../index.php(17): require('...')
    #8 {main}
      thrown in .../wp-content/plugins/bunnycdn/inc/bunnycdnFilter.php on line 31
  • The topic ‘Error 500’ is closed to new replies.