Jump to content

Error code when I run localhost


Recommended Posts

Hi, I still a noob in PHP programming I hope somebody in the forum can help me and give an ideas how to fixed to this problem,

everytime I run localhost this message appear:

ErrorException in Builder.php line 1023:count(): Parameter must be an array or an object that implements Countable

But if I type localhost/(anycharacter) the page appear but with error 404(kindly refer to image, all other buttons are working except the one indicated with the arrow( kindly refer on the last image, note: app_debug set to true), this problem keeps bugging me for a few weeks now that I still cannot find a way to fixed it. Thank you in advance.




Link to comment
Share on other sites

The $query from $this->getQuery() does not have a valid - as of PHP 7.2 - property.

Prior to PHP 7.2, the result of count() with an invalid parameter would have been misleading (a 0 or 1).

Suggest verifying if this package has been updated to work with PHP 7.2.

  • Like 1
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.