IMPORTANT Technical support in our forum will be limited until August 1st for team vacation. If you require urgent help, drop us a line at This email address is being protected from spambots. You need JavaScript enabled to view it. and we will try to answer you as soon as possible.
  • Discussions
    Discussions
    Lists all discussions that are created on the site.
  • Tags
    Tags
    View tags that are created on the site and filter discussions by tags.
  • Categories
    Categories
    View categories that are created for the site and filter discussions by categories.
  • Users
    Members
    View profile of other members on the site.
Chris on Sunday, November 29 2009, 11:22 PM

PHP Warning: in_array() expects parameter 2 to be

0
another, new user issue. When i try to add a new album, i get the following errors:

PHP Warning: in_array() expects parameter 2 to be array, null given in \\administrator\\components\\com_muscol\\views\\album\\tmpl\\form.php on line 272
PHP Warning: in_array() expects parameter 2 to be array, null given in \\administrator\\components\\com_muscol\\views\\album\\tmpl\\form.php on line 291

Looking at the codes, this is referring to the types and tags. I have 2 types and tags configured. I checked my MySQL database and both tables contain valid data.
       
  •  
    Replied by Germinal Camps on Monday, November 30 2009, 03:41 PM · Hide · #1
    hm... strange.

    in any case, I just recommend you to disable PHP warnings. these are not fatal errors, only php advices

    is strange you are receiving so many notices/warnings, I guess there's something unusual on your PHP configuration, and you have all the errors/warnings/notices set to show up, aybe you should disable some...:S

    Germi
    Chief Software Engineer at JoomlaThat!
Your Response
Please login first in order for you to submit comments