Error notice

GK User
Sun May 10, 2015 1:11 pm
Hello , I have two lines of mistakes that I do not understand. I have already removed the poster error in Joomla and it changes nothing . Can you help me?
thank you

Notice: Undefined variable: GK_TEMPLATE_MODULE_STYLES in /volume1/web/joomla/templates/gk_writer/index.php on line 29 Notice: Undefined property: GKTemplate::$module_styles in /volume1/web/joomla/templates/gk_writer/lib/framework/helper.layout.php on line 32
Notice: Undefined variable: page_suffix_output in /volume1/web/joomla/templates/gk_writer/layouts/default.php on line 31
User avatar
Fresh Boarder

GK User
Thu May 14, 2015 2:50 pm
Hello,

In the index.php file, please replace:

Code: Select all
$tpl = new GKTemplate($this, $GK_TEMPLATE_MODULE_STYLES);


to:

Code: Select all
$tpl = new GKTemplate($this);


in the helper.layout.php file please remove the following line:

Code: Select all
$this->module_styles = $parent->module_styles;


and in the layouts/default.php file please replace line:

Code: Select all
$page_suffix_output .= $this->page_suffix;


to:

Code: Select all
$page_suffix_output = $this->page_suffix;


We will include all these updates in the nearest update.
User avatar
Administrator

GK User
Wed Jun 03, 2015 5:28 pm
Thanks for these fixes! I've done as directed which fixed most of the messages, but am still getting the following message:

Code: Select all
Notice: Undefined index: layout in /home/myaccount/public_html/staging/templates/gk_quark/layouts/default.php on line 33


This is what is on line 33:

Code: Select all
// check for the one page layout
$menu_item_layout = $menu->getActive()->query['layout'];


Any further direction?
User avatar
Gold Boarder

GK User
Wed Jun 03, 2015 5:51 pm
railer wrote:Any further direction?


Never mind, I decided to try downloading the latest version of the Quark template (I used what was apparently an older quickstart version). Upgrading Quark seems to have fixed the problem messages.
What is strange, is that yesterday everything was fine. Then suddenly this morning there are all of these error messages. To my knowledge there were no changes in the server software.
User avatar
Gold Boarder

GK User
Thu Jun 04, 2015 9:38 pm
You didn't changed the level of error reporting in the general joomla settings?
User avatar
Administrator

GK User
Fri Jun 05, 2015 2:16 pm
dziudek wrote:You didn't changed the level of error reporting in the general joomla settings?

No, no changes prior to the error messages appearing. It was set to System Default.
Later, I read in another thread to try setting it to "None", but that didn't get rid of the messages. Pretty strange. But uploading the latest version of the Quark template seems to have fixed it.
User avatar
Gold Boarder


cron