Message
  • Access Denied. The post you requested has been moved, deleted or you do not have the appropriate credentials to access it.

SOLVED: Warning: Invalid argument supplied for foreach() only in back

SOLVED: Warning: Invalid argument supplied for foreach() only in back

I Have installed com_sh404sef_3.4.5.1255 for my website....
it installed successfully but, suddenly backend font increased and giving error in backend only

Warning: Invalid argument supplied for foreach() in /var/....../administrator/components/com_sh404sef/sh404sef.class.php on line 360

Warning: Invalid argument supplied for foreach() in /var/....../administrator/components/com_sh404sef/sh404sef.class.php on line 366

Please find attached screenshot
Thanks

swapnil
New User
ranks
useravatar
Offline
9 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

Hello swapnil,

Was this website upgraded from a joomla 1.5 or joomla 1.6 ? or was it installed using a template quickstart provided by template developer ?

Rgds

* Please note that all support is handled on this forum.
** Please read the FAQs and Documentation before posting:
Docs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF
FAQs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF

jimie
jimie
Support Specialist
ranks
useravatar
Offline
8484 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

no this website is not upgraded from 1.5 or 1.6, it was installed using a template quickstart provided by template developer (JoomlArt)

template with joomla 1.7.0 then we upgraded to joomla 1.7.5 with patch

swapnil
New User
ranks
useravatar
Offline
9 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

Hello swapnil,

Please open your website database and run this sql query:

Code:


alter table jos_languages add `ordering` int(11) not null default '0';

Replace jos with your database prefix

Rgds

* Please note that all support is handled on this forum.
** Please read the FAQs and Documentation before posting:
Docs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF
FAQs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF

jimie
jimie
Support Specialist
ranks
useravatar
Offline
8484 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

Voila, It worked....
thanks a lot.....

i would like to suggest a feature for sh404sef that we have 404 Request Manager. and we have NUM, Hits, SEF url,Redirect to a SEF URL,Enter a redirect URL these columns.

Is it possible to add a column named "Reference/Source", it will contain a place where a link/user come from.

if the reference is "Google" then we consider that the url is still in google database etc....

what you say.

BTW thanks again the DB SQL Query

swapnil
New User
ranks
useravatar
Offline
9 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

Hello swapnil,

You can view those infos in the sh404sef logs file:

administrator/components/com_sh404sef/logs/

Adding thise feature and saving those infos in database, it will increase the space used and we dont want this.

OK. Marking solved, and remember:

If you use sh404SEF, please post a rating and a review at the Joomla! Extensions Directory.

http://extensions.joomla.org/extensions … 134/review (login required)

Rgds

* Please note that all support is handled on this forum.
** Please read the FAQs and Documentation before posting:
Docs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF
FAQs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF

jimie
jimie
Support Specialist
ranks
useravatar
Offline
8484 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

I have same problem in my another website, i.e www.swapnilughade.com
same error found while logged in backend


Warning: Invalid argument supplied for foreach() in /home/swapnilu/public_html/administrator/components/com_sh404sef/sh404sef.class.php on line 356

Warning: Invalid argument supplied for foreach() in /home/swapnilu/public_html/administrator/components/com_sh404sef/sh404sef.class.php on line 362

...............

and from frontend

Warning: Invalid argument supplied for foreach() in /home/swapnilu/public_html/administrator/components/com_sh404sef/classes/pageinfo.php on line 81

Warning: Cannot modify header information - headers already sent by (output started at /home/swapnilu/public_html/administrator/components/com_sh404sef/classes/pageinfo.php:81) in /home/swapnilu/public_html/plugins/system/jat3/jat3/core/parameter.php on line 80


should i update the same table with same SQL Query?

Thanks

swapnil
New User
ranks
useravatar
Offline
9 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

Hello swapnil,

Yes, use the same query

Rgds

* Please note that all support is handled on this forum.
** Please read the FAQs and Documentation before posting:
Docs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF
FAQs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF

jimie
jimie
Support Specialist
ranks
useravatar
Offline
8484 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

The something happen to my website administrator/components/com_sh404sef/sh404sef.class.php on line 366 and to instaled i using a template quickstart provided by template developer, how can i fix thanks http://anything-digital.com/templates/anythingdigital/forum_attachments/114037/mini_19022012-0442_4820380031-orig.png

mbebito
New User
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: SOLVED: Warning: Invalid argument supplied for foreach() only in back

Hello mbebito,

Follow what I`ve said in here:

http://anything-digital.com/forum/exten … tml#p17583

Rgds

* Please note that all support is handled on this forum.
** Please read the FAQs and Documentation before posting:
Docs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF
FAQs: Advanced Search | Agora | JCal Pro | Josetta | RSVP | sh404SEF

jimie
jimie
Support Specialist
ranks
useravatar
Offline
8484 Posts
Administrator has disabled public posting

Forum Legend

 

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked
 
 

Get the latest updates on our extensions