Youjoomla Support Forums (
-   YouGrids (
-   -   [SOLVED] A Warning in YouGrids for J 1.6 (

mario123456 02-05-2011 04:30 AM

[SOLVED] A Warning in YouGrids for J 1.6

I have a Warning in Joomla 1.6 : Warning: in_array() []: Wrong datatype for second argument in /xxx/xxxxx/xxxxxx/xxxxxxxxx/templates/yougrids/yjsgcore/yjsg_core.php on line 153

What can I do ?

Sorry for my English I am an German Men and my English is very Bad.:D

Greets MArio

neo 02-05-2011 06:26 AM

can you advise what settings you have setup and you php version please

mario123456 02-05-2011 06:36 AM

I have Preferences leave and PHP Version is: 5.2.12-nmm2

neo 02-05-2011 06:56 AM

sorry for the trouble and thnx for the find ,

i forgot to check if that setting is an array ,

new template is up you can reinstall over the old one , or manual fix would be
in file
yougrids/yjsgcore/yjsg_core.php line 153

if(in_array($itemid, $define_itemid) ){
change to

if( is_array( $define_itemid ) && in_array($itemid, $define_itemid) ){

mario123456 02-05-2011 07:18 AM

Many Thanks,

now it works Fine.

Greets Mario

All times are GMT -4. The time now is 01:46 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.