Dan Walsh
Dan Walsh
Offline
0
Hello,
I have created a menu that uses the single song layout form, so artists can upload 1 song.
when they try to upload a song,
They get this error:
Warning: in_array() expects parameter 2 to be array, null given in /home/djroqone/www/www/components/com_muscol/views/song/view.html.php on line 100

Any Suggestions?
Thanks in advance
Responses (7)
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Tuesday, June 09 2015, 09:45 AM - #Permalink
    0
    Hello Dan,
    Have you got the last version of the component installed in your system?

    Because I think this file changed in a recent release and maybe the error is gone.

    If you reinstall the last version and the error is still there, please paste the error again to se the new error line and we will solve it.
    The reply is currently minimized Show
  • Accepted Answer

    Dan Walsh
    Dan Walsh
    Offline
    Friday, June 12 2015, 05:09 AM - #Permalink
    0
    Yes,
    I have reinstalled the comp. and it still says:
    Warning: in_array() expects parameter 2 to be array, null given in /home/djroqone/www/www/components/com_muscol/views/song/view.html.php on line 100

    Is this the latest version? com_muscol_2.4.8_community_pro_3.0

    Thanks in advance,
    Dan
    The reply is currently minimized Show
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Monday, June 15 2015, 08:43 AM - #Permalink
    0
    Ok Dan,
    If you send me ftp access to joan@ joomlathat.com I am going to solve it.

    Thank you
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 25 2016, 03:13 AM - #Permalink
    0
    I ran into the same issue. I am running the latest version of MC and Joomla. Please give me a quick rundown on how to solve this one?
    The reply is currently minimized Show
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Tuesday, March 29 2016, 08:09 AM - #Permalink
    0
    Hello Daniel,

    I don't know why we did not update the component with the bug solved.
    Can you send me ftp access to joan@ joomlathat.com and access to the site to see it live?
    I will reproduce it, solve it and I will update our component too.

    Thank you for your help,
    Joan
    The reply is currently minimized Show
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Friday, April 08 2016, 10:25 AM - #Permalink
    0
    Adding the line:
    $this->_data->tags_original = array();
    in components/com_muscol/models/song.php at line 80 solves the issue.

    The next version of Music Collection will have the problem solved.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 08 2016, 01:52 PM - #Permalink
    0
    Awesome! Looks good.
    The reply is currently minimized Show
Your Reply