Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

PHP warnings related to wp-cli

$
0
0

Replies: 0

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).


Viewing all articles
Browse latest Browse all 59525

Trending Articles