Skip to Content

Chameleon Video Player PHP Warning Fix

|WordPress|0 Comments

I noticed, after updating to the latest WordPress version (4.1), the LambertGroup – Chameleon Video Player plugin produced the error: Warning: Missing argument 2 for wpdb::prepare() After reading this article: https://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/ I changed: $safe_sql=$wpdb->prepare( “SELECT…