themosis / framework

The Themosis framework core.
https://framework.themosis.com/
GNU General Public License v2.0
670 stars 121 forks source link

Issue installing new Themosis Framework #793

Open swaraasolutions opened 4 years ago

swaraasolutions commented 4 years ago

Description

Undefined index: host when trying to create new project with latest themosis framework

Steps to reproduce

composer create-project themosis/themosis bboost-backend install theme and open the wordpress installation page and click on next

Expected behavior

It should complete the installation process

The issue is basically cropping up because the site_url() function is returning blank response.

After checking the source of the issue we found that Application when we change the following code

Filter::add('option_siteurl', function ($url) { return $this->formatSiteUrl($url); });

to

Filter::add('site_url', function ($url) { return $this->formatSiteUrl($url); });

the installation is completed successfully

but when trying to open dashboard it stops working

Screenshot of the error image

Looking forward for a fix

umair33 commented 4 years ago

In .env file turn off debug