Severity: Notice
Message: Trying to get property of non-object
Filename: models/Beats_front_model.php
Line Number: 44
Backtrace:
File: /var/www_gi/modules/front/models/Beats_front_model.php
Line: 44
Function: _error_handler
File: /var/www_gi/modules/front/controllers/Front.php
Line: 189
Function: genre_slug
File: /var/www_gi/application/core/Front_Controller.php
Line: 27
Function: call_user_func_array
File: /var/www_gi/index.php
Line: 295
Function: require_once
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and ifnull(date(release_date),2000-01-01) <= '2024-03-19' ' at line 4
select * from beats left join users on users.id= beats.account_id left join mixtapes on mixtapes.mix_id = beats.mix_id where beats.beat_type = 2 and beats.beat_status = 1 and beats.beat_genre_id = and ifnull(date(release_date),2000-01-01) <= '2024-03-19' group by beat_id order by beat_id desc
Filename: /var/www_gi/modules/front/models/Beats_front_model.php
Line Number: 1329