0
Found an error on my MC main page where i am displaying the ARTIST module. I have made no changes to the code for this or any other MC file.
Message: Notice: Undefined variable: where in .../.../joomlasite.com/modules/mod_muscol_artists/helper.php on line 58
In the HELPER.php file i see "where" "order" and "limit" all have no defining variable unless its being set elsewhere.
Message: Notice: Undefined variable: where in .../.../joomlasite.com/modules/mod_muscol_artists/helper.php on line 58
In the HELPER.php file i see "where" "order" and "limit" all have no defining variable unless its being set elsewhere.
$query = ' SELECT ar.*, ar.picture AS image, ge.genre_name, ar.artist_name AS name FROM #__muscol_artists as ar '.
' LEFT JOIN #__muscol_genres as ge ON ge.id = ar.genre_id ' .
$where .
$order .
$limit;
Responses (4)
-
Accepted Answer
0hello
sorry I missed this one.
yes, in PHP varaibles do not necessaruly need to be set before used..
if you want, I can add those for you.
if you're confortable editing code, all you need to do is add those at the beginning of that function, like so:
static function getArtists(&$params){
$where = "";
$order = "";
$limit = ""; -
Accepted Answer
0still an issue on this one Sir.
Please see here on the Artists Page.
This appears on ALL artists pages.
https://www.antifmradio.com/the-music/musicdatabase/1/104-4-strings
Youll see the error
: Undefined property: stdClass::$creation_year in
/homepages/38/d692002752/htdocs/antifmradio.com/components/com_muscol/views/artist/tmpl/default_details.php
on line
34
This is two years old. -
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »