PHP warnings related to wp-cli
-
Hi,
I’ve started seeing the following PHP warnings on my website:
[17-Aug-2017 06:13:32 UTC] PHP Warning: date() expects parameter 2 to be long, string given in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 359 [17-Aug-2017 06:13:32 UTC] PHP Warning: date() expects parameter 2 to be long, string given in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 360 [17-Aug-2017 06:13:32 UTC] PHP Warning: date() expects parameter 2 to be long, string given in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 359 [17-Aug-2017 06:13:32 UTC] PHP Warning: date() expects parameter 2 to be long, string given in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 360 [17-Aug-2017 06:14:42 UTC] PHP Warning: Illegal string offset 'args' in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 392 [17-Aug-2017 06:14:42 UTC] PHP Warning: Illegal string offset 'schedule' in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 393 [17-Aug-2017 06:14:42 UTC] PHP Warning: Illegal string offset 'args' in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 392 [17-Aug-2017 06:14:42 UTC] PHP Warning: Illegal string offset 'schedule' in phar:///opt/wp-cli/bin/wp/php/commands/cron-event.php on line 393
I’ve never used wp-cli so I have no idea what to do with these warnings. I’d like to troubleshoot them though because I’m getting a massive amount of them every hour and my PHP error log just gets way too large way too quickly.
Thanks for any thoughts/help you can provide and any suggestions for where I can get help for this (if not here).
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP warnings related to wp-cli’ is closed to new replies.