PHP Deprecated: Function create_function() is deprecated in
Hi:
We are getting below Classipress generated php error log when enabled the debug in the web.config file. Could you please explain why these errors are showing and help us to fix this error.
[20-Oct-2019 20:34:30 UTC] PHP Deprecated: Function create_function() is deprecated in /home/
wp-content/themes/classipress/includes/search.php on line 679
[20-Oct-2019 20:34:34 UTC] PHP Deprecated: Function create_function() is deprecated in /home/
wp-content/themes/classipress/includes/search.php on line 679
[20-Oct-2019 21:47:14 UTC] PHP Deprecated: Function create_function() is deprecated in /home/
wp-content/themes/classipress/includes/search.php on line 679
[20-Oct-2019 21:47:17 UTC] PHP Deprecated: Function create_function() is deprecated in /home/
wp-content/themes/classipress/includes/search.php on line 679
[20-Oct-2019 22:07:27 UTC] PHP Notice: wpdb:: prepare was called <strong>incorrectly</strong>. The query only expected one placeholder, but an array of multiple placeholders was sent. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.9.0.) in /home/
wp-includes/functions.php on line 4778
Classipress-PHP-Error.jpg
Server Software: Apache
PHP Version: 7.2.20
WP Version: 5.2.4