Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

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

Started by Martin Lanser 7 years ago · 1 replies · 734 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 jeremycherfas, 2 weeks ago
5 200 11 hours ago
General · by lynbor, 6 days ago
2 131 3 days ago
General · by Old Man Umby, 1 week ago
1 106 1 week ago
General · by Sebastian, 2 weeks ago
1 131 2 weeks ago
General · by Andy Miller, 3 weeks ago
0 254 3 weeks ago