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 · 641 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 Hanns Mattes, 13 hours ago
1 16 5 hours ago
General · by Andy Miller, 5 hours ago
0 16 5 hours ago
General · by Jerry Hunt, 5 days ago
2 137 1 day ago
General · by pamtbaau, 2 days ago
1 94 2 days ago
General · by Andy Miller, 2 days ago
0 78 2 days ago