Error Log – Missing Argument
-
I am getting a message in the Error Log that starts out with:
Missing argument 2 for WINP_Execute_Snippet::executePostSnippets(), called in .../wp-includes/class-wp-hook.php on line 286 and defined in .../wp-content/plugins/insert-php/includes/class.execute.snippet.php on line 60I am only using one PHP snippet. It’s very simple:
if(isset($_GET['name'])){ echo do_shortcode('[wbcr_text_snippet id="15443"]'); } else { echo do_shortcode('[wbcr_text_snippet id="15442"]'); }The other two snippets are text snippets.
Can you tell why I would be getting this error in the Error Log? The pages work fine.
Thank You!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Error Log – Missing Argument’ is closed to new replies.