解决在git的post-receive钩子中无法checkout的问题
Warning: wp_codebox_substitute(): Argument #1 ($match) must be passed by reference, value given in /web/rek.me/rek/webroot/wp-content/plugins/wp-codebox/main.php on line 125
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /web/rek.me/rek/webroot/wp-content/plugins/wp-codebox/main.php:31 Stack trace: #0 [internal function]: wp_codebox_substitute(Array) #1 /web/rek.me/rek/webroot/wp-content/plugins/wp-codebox/main.php(125): preg_replace_callback('/\\s*<pre(?:lang...', 'wp_codebox_subs...', '<p style="text-...') #2 /web/rek.me/rek/webroot/wp-includes/class-wp-hook.php(324): wp_codebox_before_filter('<p style="text-...') #3 /web/rek.me/rek/webroot/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p style="text-...', Array) #4 /web/rek.me/rek/webroot/wp-includes/post-template.php(256): apply_filters('the_content', '<p style="text-...') #5 /web/rek.me/rek/webroot/wp-content/themes/olsen-light/content-entry.php(59): the_content('') #6 /web/rek.me/rek/webroot/wp-includes/template.php(812): require('/web/rek.me/rek...') #7 /web/rek.me/rek/webroot/wp-includes/template.php(745): load_template('/web/rek.me/rek...', false, Array) #8 /web/rek.me/rek/webroot/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #9 /web/rek.me/rek/webroot/wp-content/themes/olsen-light/index.php(55): get_template_part('content', 'entry') #10 /web/rek.me/rek/webroot/wp-includes/template-loader.php(106): include('/web/rek.me/rek...') #11 /web/rek.me/rek/webroot/wp-blog-header.php(19): require_once('/web/rek.me/rek...') #12 /web/rek.me/rek/webroot/index.php(17): require('/web/rek.me/rek...') #13 {main} thrown in /web/rek.me/rek/webroot/wp-content/plugins/wp-codebox/main.php on line 31