Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

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

Started by Martin Lanser 7 years ago · 1 replies · 763 views
7 years ago

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?

TIA,
-martin.

7 years ago

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 🙂

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 6 days ago
0 106 6 days ago
General · by lynbor, 4 weeks ago
3 436 2 weeks ago
General · by lynbor, 3 weeks ago
7 555 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago