Custom Fields
Re-Envisioned
Support MB Relationships Frontend display of all linked posts in multiple relationships Reply To: Frontend display of all linked posts in multiple relationships

#12744

Max Elman
Participant

Thanks! This looks close, but breaks the page and throws errors:
2018/12/20 01:25:39 [error] 61905#61905: *18816 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in /www/cooperwhitecooper_161/public/wp-content/themes/cooper-white-cooper/functions.php on line 186 and exactly 2 expected in /www/cooperwhitecooper_161/public/wp-includes/wp-db.php:1222

Guessing that the << code >> elements shouldn’t be within that wpdb->prepare statement? Can you check that?