You are not logged in.
Pages: 1
Hi,
We're excited to install the new update with the SMTP mailer! Unfortunately, when we installed it, the CMS is crashed.
We get an empty nav bar and can't edit anything. In the updates before we never had any problem, so I'm curious if you guys know what's going on.
This is ther error we got:
Notice: Undefined index: sites in /home/deparelnew/domains/deparelverloskundigenpraktijk.nl/public_html/core/admin/router.php on line 164
Link to screenshot: https://imgur.com/xkt4GuB
Thanks in advance!
Offline
Try adding
$bigtree["config"]["sites"] = array();
to your /custom/environment.php file and see if that makes a difference.
Offline
We're a step further now. The error code is gone! But the BigTree CMS is still only showing the top bar and a few empty buttons, as in the screenshot. We've experienced this issue on another installation as well, so I think it could be a common thing.
Do you have an idea what else it could be?
Offline
I've never seen anything like that, unfortunately! And I'm guessing you have errors turned on since that Notice popped up. I'd be happy to take a look with FTP access if you're comfortable PM'ing me that.
Offline
Hmm, maybe something with writing rights then?
Thanks! I've PM'd you the FTP credentials.
Offline
I think I actually just figured this out after upgrading another site -- on PHP instances that are running below 7.0 but have support for the Locale class, BigTree is improperly loading a library that requires PHP 7.0.
Changing line 1555 of /core/inc/bigtree/cms.php to:
if (class_exists("Locale") && version_compare(PHP_VERSION, "7.0.0") >= 0) {
should fix the issue!
I'll be making an emergency 4.2.21 release later today with this fix and another (not critical) bug fix.
Offline
Perfect. It worked! Thanks fot the quick help!
Offline
Pages: 1