Error: E_DEPRECATED - strpos() ... in "processParams()" running PHP 7.3

My dev environment runs on Laravel Homestead (i.e. VirtualBox, Vagrant, PHP 7.3, etc.) and I keep getting the following error:

Whoops \ Exception \ ErrorException (E_DEPRECATED)
strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

I feel like I’ve tried everything – I’ve tried to change the PHP.ini error_reporting level, etc. Nothing seems to help, I keep getting this errors. Thing is, this used to work fine … but then I decided to upgrade VirtualBox, Vagrant and Homestead … but I don’t see how that would cause this particular error.

Anybody have any ideas where to look? Anybody else using Laravel Homestead?


Turns out it was a problem with my combo of VirtualBox and Vagrant versions and the whole thing fixed itself when I upgraded to VirtualBox v6.0.8. Now everything works just fine :slight_smile: