• In the Posts page of the admin if you check some of the posts and click the search button,

    this causes SinglePreloadWPFC::set_id
    to set the SinglePreloadWPFC::$id to an array and then try to do a query for term relationships with object_id = Array

    Here is my trace

    ErrorException: WordPress databasefout Unknown column 'Array' in 'where clause' bij query SELECT * FROMwp_3_term_relationshipsWHEREobject_id`=Array
    File “/home/staging/wordpress/config/modules/Database.php”, line 76
    File “/home/staging/wordpress/public/wp/wp-includes/wp-db.php”, line 1997, in Staxoweb\WordPress\Modules\Database::print_error
    File “/home/staging/wordpress/public/wp/wp-includes/wp-db.php”, line 2695, in wpdb::query
    File “/home/staging/wordpress/public/content/plugins/wp-fastest-cache/inc/single-preload.php”, line 163, in wpdb::get_results
    File “/home/staging/wordpress/public/content/plugins/wp-fastest-cache/inc/single-preload.php”, line 9, in SinglePreloadWPFC::set_urls_with_terms
    File “/home/staging/wordpress/public/content/plugins/wp-fastest-cache/wpFastestCache.php”, line 387, in SinglePreloadWPFC::init
    File “/home/staging/wordpress/public/wp/wp-includes/class-wp-hook.php”, line 303, in WpFastestCache::single_preload_inline_js
    File “/home/staging/wordpress/public/wp/wp-includes/class-wp-hook.php”, line 327, in WP_Hook::apply_filters
    File “/home/staging/wordpress/public/wp/wp-includes/plugin.php”, line 470, in WP_Hook::do_action
    File “/home/staging/wordpress/public/wp/wp-admin/admin-header.php”, line 287, in do_action
    File “/home/staging/wordpress/public/wp/wp-admin/edit.php”, line 396, in require_once`

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unsanitised Query SinglePreloadWPFC::set_urls_with_terms()’ is closed to new replies.