I recently applied the Enterprise template to a site.
When looking in the web site error logs there is a lot of errors about an undefined error for body_bg - An extract of the repeated lines is:
[12-Jun-2015 08:31:24 ] PHP Warning: Invalid argument supplied for foreach() in /home/nepcamor/public_html/templates/j51_enterprise/php/styles.php on line 195
[12-Jun-2015 08:31:24 ] PHP Notice: Undefined variable: body_bg in /home/nepcamor/public_html/templates/j51_enterprise/php/styles.php on line 278
Could you let me know how to stop the error from filling up the log file/s?
Thanks
Rob
- Robcey
-
- Commercial Templates
- Thursday, 11 June 2015
- Subscribe via email
Thank you Rob
The errors do not appear to be outputed to your markup. May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.
Ciarán
The errors do not appear to be outputed to your markup. May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.
Ciarán
- more than a month ago
- Commercial Templates
- # 3
Thank you Rob
We hope to have resolved this issue by adding the following to your templates variables.php...
Ciarán
We hope to have resolved this issue by adding the following to your templates variables.php...
$body_bg = $this->params->get('body_bg');
Ciarán
- more than a month ago
- Commercial Templates
- # 5
Hi Ciarán,
Thanks for applying the fix.
I have a few questions then.
1. Is this some code missing from the Enterprise template distribution package at the moment?
2. Will this code need to be added to any other installs that I have
3. Is there an updated distribution that with a fix that should be downloaded?
Thanks
Rob
Thanks for applying the fix.
I have a few questions then.
1. Is this some code missing from the Enterprise template distribution package at the moment?
2. Will this code need to be added to any other installs that I have
3. Is there an updated distribution that with a fix that should be downloaded?
Thanks
Rob
- more than a month ago
- Commercial Templates
- # 6
Hi Ciarán,
I did a couple of tests and one of the errors is still appearing in the log file below.
The login details are still available for you.
Regards
Rob
[17-Jun-2015 14:25:41 Australia/Sydney] PHP Warning: Invalid argument supplied for foreach() in /home/nepcamor/public_html/templates/j51_enterprise/php/styles.php on line 195
I did a couple of tests and one of the errors is still appearing in the log file below.
The login details are still available for you.
Regards
Rob
[17-Jun-2015 14:25:41 Australia/Sydney] PHP Warning: Invalid argument supplied for foreach() in /home/nepcamor/public_html/templates/j51_enterprise/php/styles.php on line 195
- more than a month ago
- Commercial Templates
- # 7
Hi Rob
From your Joomla administration navigate to Extension -> Template Manager -> [YourTemplateStyle] -> Social Media Icons -> List/Add Custom Icons and ensure you have no empty rows. Empty rows can be removed using the red '-' button.
We will be checking all templates for this issue and were present we will amend and update the template download. This will be done over the next couple of days.
Ciarán
From your Joomla administration navigate to Extension -> Template Manager -> [YourTemplateStyle] -> Social Media Icons -> List/Add Custom Icons and ensure you have no empty rows. Empty rows can be removed using the red '-' button.
We will be checking all templates for this issue and were present we will amend and update the template download. This will be done over the next couple of days.
Ciarán
- more than a month ago
- Commercial Templates
- # 8
Hi Ciarán,
I have removed all Social Media Icons as described but the error is still happening.
[18-Jun-2015 08:42:07 Australia/Sydney] PHP Warning: Invalid argument supplied for foreach() in /home/nepcamor/public_html/templates/j51_enterprise/php/styles.php on line 195.
Regards
Rob
I have removed all Social Media Icons as described but the error is still happening.
[18-Jun-2015 08:42:07 Australia/Sydney] PHP Warning: Invalid argument supplied for foreach() in /home/nepcamor/public_html/templates/j51_enterprise/php/styles.php on line 195.
Regards
Rob
- more than a month ago
- Commercial Templates
- # 9
Hi Ciarán,
I normally find your solutions on the money so thought I would start from scratch.
The Save needs to be selected from "Social Media Icons" AND "List/Add Custom Icons"
Thanks for your help in resolving the errors.
Please colse the ticket.
Cheers
Rob
I normally find your solutions on the money so thought I would start from scratch.
The Save needs to be selected from "Social Media Icons" AND "List/Add Custom Icons"
Thanks for your help in resolving the errors.
Please colse the ticket.
Cheers
Rob
- more than a month ago
- Commercial Templates
- # 10
Thank you Rob for your update and for sharing your solution! It is something I hadn't considered and good to know for the future.
Ciarán
Ciarán
- more than a month ago
- Commercial Templates
- # 11
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »