[SOLVED] Warning: in flexicontent.helper.php when a LESS folder is unreadable

More
8 years 11 months ago - 8 years 10 months ago #59612 by kath
hi there,

i get this error in frontend and backend, the rest of the website is rendered ok.
"Warning: Invalid argument supplied for foreach() in [...] flexicontent.helper.php on line 201"

i just updated FC to flexicontent-cck-3.0.10-RC2e.zip (was quite old before)
Joomla! 3.4.8

Thanks,
kath
Last edit: 8 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 10 months ago #59613 by micker
can you update to rc2f ?
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 8 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago - 8 years 10 months ago #59632 by kath
hi Micker,

thanks for your reply. Sorry, where do I find rc2f?
(at www.flexicontent.org/component/content/a...test.html?Itemid=115 rc2e seems the highest release.)
Last edit: 8 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago - 8 years 10 months ago #59640 by micker

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 8 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago - 8 years 10 months ago #59641 by kath
great, thanks, tried rc2g, no success. did not try rc2f so far.
added 'if($inc_files) {[...]}' around the foreach to avoid the effect.
Last edit: 8 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago - 8 years 10 months ago #59642 by ggppdk
Hello

some LESS folder exists but it is not readable

replace:
Code:
foreach ($inc_files as $confFile) {

with
Code:
if (!is_array($inc_files)) echo "Error reading path:".$inc_path."<br/>"; if (is_array($inc_files)) foreach ($inc_files as $confFile) {

then after getting the error use just:
Code:
if (is_array($inc_files)) foreach ($inc_files as $confFile) {


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.321 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline