Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

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

Started by Martin Lanser 7 years ago · 1 replies · 709 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 jean-louis67, 3 weeks ago
2 315 3 weeks ago
General · by Andy Miller, 4 weeks ago
0 312 4 weeks ago
General · by Veehem, 4 weeks ago
0 266 4 weeks ago
General · by milkboy, 4 weeks ago
0 270 4 weeks ago
General · by ian russell, 1 month ago
2 338 1 month ago