Running als.local gives error
Posted by: FuzMic (175.141.223.---)
Date: January 19, 2018 03:58AM

HI gurus

I am with the latest using wamp64 with 3.1.1 update as advised by Chris in his New Sticky.


However i still have a website downloaded from hostgator (via phpadmin & cpanel). I have also created a virtual host eg als.local. When i browse this als.local it opens ok except there is one error message

Undefined property: stdClass::$subtitle in C:\wamp64\www\ALS\components\com_sppagebuilder\layouts\row\start.php line 113


line 113 is

$html .= '<div class="sppb-container-inner">';

Please teach me what is the cause & point to how to fix? Thank you as always.

Options: ReplyQuote
Re: Running als.local gives error
Posted by: RiggsFolly (Moderator)
Date: January 19, 2018 11:00AM

Hi Fuz

In my experience, when moving sites from LIVE server to a DEV Server issues like this were there all the time.

As I am sure you are aware, LIVE sites are configured to NOT show errors to user, but Development server (WAMPServer) of course are configured to show all errors, so they can be fixed before making the code live.

So I would start by looking at the LIVE Server logs. Do you see this error there?

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Running als.local gives error
Posted by: FuzMic (168.235.201.---)
Date: January 21, 2018 05:13AM

Chris
Thanks for teaching about no errors setting in host😀

Options: ReplyQuote


Sorry, only registered users may post in this forum.