XAMPP to Bluehost
Permalink
I've been trying to move a website from XAMPP to bluehost with little success (version 5.7+). Has anyone had success with moving a website in 5.7? The most recent error I've received after fixing the others is:
Call to a member function getRelativePath() on a non-object
From the header_required.php file. I haven't been able to track down the main cause of the problem.
Call to a member function getRelativePath() on a non-object
$favIconFID=intval(Config::get('concrete.misc.favicon_fid')); $appleIconFID =intval(Config::get('concrete.misc.iphone_home_screen_thumbnail_fid')); $modernIconFID = intval(Config::get('concrete.misc.modern_tile_thumbnail_fid')); $modernIconBGColor = strval(Config::get('concrete.misc.modern_tile_thumbnail_bgcolor')); if($favIconFID) { $f = File::getByID($favIconFID); ?> <link rel="shortcut icon" href="<?php echo $f->getRelativePath()?>" type="image/x-icon" /> <link rel="icon" href="<?php echo $f->getRelativePath()?>" type="image/x-icon" /> <?php }
From the header_required.php file. I haven't been able to track down the main cause of the problem.