estatezilla icon indicating copy to clipboard operation
estatezilla copied to clipboard

FatalErrorException in c555e8e0bfba552750b17dbff23c848c line 56: Call to a member function url() on null

Open godibling opened this issue 8 years ago • 4 comments

Please I tried running EstateZilla real estate portal on my localhost, I was able to view and make changes on the Admin backend but I was unable to view the website frontend, when I tried this I kept getting this error message FatalErrorException in c555e8e0bfba552750b17dbff23c848c line 56: Call to a member function url() on null

Please what can I do? Because I intend to move it to a domain online.

Thank you.

godibling avatar Oct 27 '17 15:10 godibling

Hello godibling!

How can i install it properly? im facing database errors.

Thanks

AfifRao avatar Oct 28 '17 11:10 AfifRao

any updates about this issue @godibling ?? im having the same error

mutazhameed avatar Nov 26 '17 18:11 mutazhameed

@AfifRao did you set the database credentials in .env file?

mutazhameed avatar Nov 26 '17 18:11 mutazhameed

I experienced the same issue when trying to install estatezilla for the first time. When I looked at the actual source file I noticed that the php short tag used was instead of

This caused the next piece of php code to fail too as $property was not loaded:

= $property->url() ?>

This caused the fatal error: Call to a member function url() on null

The issue was resolved after I enabled the use of php short tags in php.ini: short_open_tag=On

chunyianliew avatar Mar 10 '18 17:03 chunyianliew