Category: Програмування

Fatal error: Uncaught Error: get_class(): Argument #1 ($object) must be of type object, null given
in /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 414

Call stack:

  1. CrayonLang::element()
    wp-content/plugins/crayon-syntax-highlighter/crayon_parser.class.php:193
  2. CrayonParser::validate_regex()
    wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:512
  3. CrayonElement::regex()
    wp-content/plugins/crayon-syntax-highlighter/crayon_parser.class.php:140
  4. CrayonParser::parse()
    wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php:243
  5. CrayonHighlighter::language()
    wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php:160
  6. CrayonWP::shortcode()
    wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php:692
  7. CrayonWP::the_content()
    wp-includes/class-wp-hook.php:310
  8. WP_Hook::apply_filters()
    wp-includes/plugin.php:205
  9. apply_filters()
    wp-includes/post-template.php:256
  10. the_content()
    wp-content/themes/gamepress/content.php:30
  11. require()
    wp-includes/template.php:787
  12. load_template()
    wp-includes/template.php:720
  13. locate_template()
    wp-includes/general-template.php:206
  14. get_template_part()
    wp-content/themes/gamepress/archive.php:52
  15. include()
    wp-includes/template-loader.php:106
  16. require_once()
    wp-blog-header.php:19
  17. require()
    index.php:17

Query Monitor


Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:414 Stack trace: #0 /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_parser.class.php(193): CrayonLang->element('OPERATOR') #1 /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php(512): CrayonParser::validate_regex('(?default)', Object(CrayonElement)) #2 /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_parser.class.php(140): CrayonElement->regex('(?default)') #3 /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(243): CrayonParser::parse('php') #4 /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(160): CrayonHighlighter->language('php') #5 /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(692): CrayonWP::shortcode(Array, '&lt;?php\r\nclass...', '65f95196a007b69...') #6 /home/sensblog/nyan-sub.in.ua/www/wp-includes/class-wp-hook.php(310): CrayonWP::the_content('<p>\xD0\x9C\xD0\xB0\xD0\xBB\xD0\xB5\xD0\xBD\xD1\x8C...') #7 /home/sensblog/nyan-sub.in.ua/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p>\xD0\x9C\xD0\xB0\xD0\xBB\xD0\xB5\xD0\xBD\xD1\x8C...', Array) #8 /home/sensblog/nyan-sub.in.ua/www/wp-includes/post-template.php(256): apply_filters('the_content', '\xD0\x9C\xD0\xB0\xD0\xBB\xD0\xB5\xD0\xBD\xD1\x8C\xD0\xBA\xD0...') #9 /home/sensblog/nyan-sub.in.ua/www/wp-content/themes/gamepress/content.php(30): the_content() #10 /home/sensblog/nyan-sub.in.ua/www/wp-includes/template.php(787): require('/home/sensblog/...') #11 /home/sensblog/nyan-sub.in.ua/www/wp-includes/template.php(720): load_template('/home/sensblog/...', false, Array) #12 /home/sensblog/nyan-sub.in.ua/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #13 /home/sensblog/nyan-sub.in.ua/www/wp-content/themes/gamepress/archive.php(52): get_template_part('content') #14 /home/sensblog/nyan-sub.in.ua/www/wp-includes/template-loader.php(106): include('/home/sensblog/...') #15 /home/sensblog/nyan-sub.in.ua/www/wp-blog-header.php(19): require_once('/home/sensblog/...') #16 /home/sensblog/nyan-sub.in.ua/www/index.php(17): require('/home/sensblog/...') #17 {main} thrown in /home/sensblog/nyan-sub.in.ua/www/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 414