Hey everyone,
Whenever I enable "Users must be registered and logged in to comment" and click Update Options, I get this error:
WordPress database 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 'comment_registration')); ?> />' LIMIT 1' at line 1]
SELECT option_value FROM wp_23_options WHERE option_name = 'get_settings('comment_registration')); ?> />' LIMIT 1
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/wp-includes/wp-db.php:111) in /opt/lampp/htdocs/wp-includes/pluggable.php on line 281
Tried looking at pluggable.php but couldn't figure out how to fix it, any help? Thanks!