Open swaraasolutions opened 4 years ago
Undefined index: host when trying to create new project with latest themosis framework
composer create-project themosis/themosis bboost-backend install theme and open the wordpress installation page and click on next
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
Looking forward for a fix
In .env file turn off debug
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
Looking forward for a fix