1. bludove
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 22 January 2018
  5.  Subscribe via email
I am getting the following showing up in my error log:

PHP Warning: Invalid argument supplied for foreach() in .... /templates/j51_chelsea/php/styles.php on line 319
Here's the line in question:

<?php foreach ($moduleoverrides as $item) : if($item->module_position != "0") : ?>


Not sure how to resolve that one. Can you tell me how I should fix this?

Thanks
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

We updated the Ashley template which you inquired about an error in a separate email.

There error suggests and empty array which can happen if no template data is saved within your database. The error should have resolved itself once you saved your template settings however I see from the timestamp on the error that this is probably not the case.

As you are unable to allow us access could I ask you to post a screenshot of your Module Style Overrides template settings tab.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Similar issues are happening with Enlighten template on another site.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I received your email that the issue was resolved with the latest download. I downloaded Chelsea, installed and I'm still getting the exact same error.

[26-Jan-2018 03:09:27 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/tbcgvill/public_html/templates/j51_chelsea/php/styles.php on line 319

In fact, I checked the code on line 319 and it's still the same as before. So something still is not right.

Please advise
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

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
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok