Fatal error: Uncaught mysqli_sql_exception: 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 `user_id` = 1' at line 1 in /var/www/html/skyler.network/assets/includes/functions_two.php:4656
Stack trace:
#0 /var/www/html/skyler.network/assets/includes/functions_two.php(4656): mysqli_query()
#1 /var/www/html/skyler.network/themes/sunshine/layout/events/content.phtml(99): Wo_GetMyPageInviteLink()
#2 /var/www/html/skyler.network/assets/includes/functions_general.php(107): require('...')
#3 /var/www/html/skyler.network/sources/events/show_event.php(42): Wo_LoadPage()
#4 /var/www/html/skyler.network/index.php(1341): include('...')
#5 {main}
thrown in /var/www/html/skyler.network/assets/includes/functions_two.php on line 4656