Instanciation dynamique de classes en PHP


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Fatal error: Uncaught Error: Call to undefined function create_function() in /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/geshi/geshi.php:4751 Stack trace: #0 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/geshi/geshi.php(4674): GeSHi->_optimize_regexp_list_tokens_to_string(Array) #1 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/geshi/geshi.php(1685): GeSHi->optimize_regexp_list(Array) #2 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/geshi/geshi.php(2061): GeSHi->optimize_keyword_group(1) #3 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/geshi/geshi.php(2200): GeSHi->build_parse_cache() #4 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/wp-syntax.php(351): GeSHi->parse_code() #5 [internal function]: WP_Syntax::highlight(Array) #6 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/wp-syntax.php(490): preg_replace_callback('/<p>\\s*2218da06...', Array, '<p>Il peut arri...') #7 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/wp-syntax.php(414): WP_Syntax::afterFilter('<p>Il peut arri...') #8 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-includes/class-wp-hook.php(307): WP_Syntax::afterFilterContent('<p>Il peut arri...') #9 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-includes/plugin.php(191): WP_Hook->apply_filters('<p>Il peut arri...', Array) #10 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-includes/post-template.php(253): apply_filters('the_content', 'Il peut arriver...') #11 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/themes/analog/template-parts/content.php(50): the_content('Continue readin...') #12 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-includes/template.php(772): require('/homepages/5/d5...') #13 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-includes/template.php(716): load_template('/homepages/5/d5...', false, Array) #14 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #15 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/themes/analog/single.php(18): get_template_part('template-parts/...', 'post') #16 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-includes/template-loader.php(106): include('/homepages/5/d5...') #17 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-blog-header.php(19): require_once('/homepages/5/d5...') #18 /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/index.php(17): require('/homepages/5/d5...') #19 {main} thrown in /homepages/5/d567064640/htdocs/clickandbuilds/BlogRomain/wp-content/plugins/wp-syntax/geshi/geshi.php on line 4751