- Messages
- 2
- Likes
- 1
- Points
- 3
Hi!
I have a shortcode snippet that consists of the following line of code:
There is one additional attribute, called "days", defined for this snippet.
Yesterday, this code was working fine in a draft WordPress post I had written.
Today, after upgrading to v2.3.3 of Woody ad snippets. I am getting the following error message when previewing my post:
---------
Warning: filter_var() expects parameter 2 to be long, string given in /MY_DOMAIN_PATH/wp-content/plugins/insert-php/includes/shortcodes/shortcodes.php on line 64
---------
How do I fix this error, please?
I have a shortcode snippet that consists of the following line of code:
PHP:
echo date("jS F, Y", strtotime("+" . $days . " days"));
Yesterday, this code was working fine in a draft WordPress post I had written.
Today, after upgrading to v2.3.3 of Woody ad snippets. I am getting the following error message when previewing my post:
---------
Warning: filter_var() expects parameter 2 to be long, string given in /MY_DOMAIN_PATH/wp-content/plugins/insert-php/includes/shortcodes/shortcodes.php on line 64
---------
How do I fix this error, please?