Area Personale

Database ERROR!
Resultset failed for query SELECT t.* FROM
            (
                SELECT a.*, c.visibility, c.is_sfidati FROM fe_users_academy a JOIN lrn_courses c ON (a.product_type = 'course' AND a.fk_record_id=c.id)
                WHERE a.fk_user_id= AND a.auth=1
                
                UNION ALL

                SELECT a.*, c.visibility, c.is_sfidati FROM fe_users_academy a JOIN lrn_paths c ON (a.product_type = 'path' AND a.fk_record_id=c.id)
                WHERE a.fk_user_id= AND a.auth=1

            ) t.
More Information:
  • Mysql Error no #: 1064
  • Mysql Error: 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 a.auth=1 UNION ALL SEL' at line 4
  • Date : August 12, 2022, 7:11 am
  • URI: /it/Area-Personale
  • Referer: N/A
  • Stacktrace:
    • /export/http/cf_itselettrica_2022/lib/database.class.php: 84
    • /export/http/cf_itselettrica_2022/lib/learning.class.php: 686
    • /export/http/cf_itselettrica_2022/theme/canvas-6.5.3/page/ra.php: 75
    • /export/http/cf_itselettrica_2022/theme/canvas-6.5.3/page/content.php: 65
    • /export/http/cf_itselettrica_2022/theme/canvas-6.5.3/page/content.php: 6
    • /export/http/cf_itselettrica_2022/lib/frontend.class.php: 272
    • /export/http/cf_itselettrica_2022/theme/canvas-6.5.3/index.php: 276
    • /export/http/cf_itselettrica_2022/index.php: 11