We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Conditional 'Read More' text changes Reply To: Conditional 'Read More' text changes


Hi Tom

Error reads as follows…

Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in //wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /wp-content/plugins/code-snippets/php/snippet-ops.php(446) : eval()’d code:1 Stack trace: #0 /wp-includes/class-wp-hook.php(287): {closure}() #1 /wp-includes/plugin.php(206): WP_Hook->apply_filters() #2 /wp-content/plugins/wp-show-posts/inc/functions.php(240): apply_filters() #3 /wp-includes/class-wp-hook.php(287): wpsp_read_more() #4 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #5 /wp-includes/plugin.php(478): WP_Hook->do_action() #6 /wp-content/plugins/wp-show-posts/wp-show-posts.php(477): do_action() #7 /wp-content/plugins/code-snippets/php/snippet-ops.php(446) : eval()’d code on line 1