Forums Forums Search & Filter Pro WP 5.0.2 Compatibility?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #197753

    Hi,
    Just wanting to check that S&FP is fully compatible with WP version 5.0.2?

    I just installed, activated (version 2.4.6)…
    Went to Search & Filter License, and entered & activated the license.
    Then went to settings, to look over everything – didn’t change anything.
    Then to Search & Filter > And new Search Form, and got the following…

    Warning: Creating default object from empty value in /srv/www/SITE/public_html/wp-admin/includes/post.php on line 662

    The above file/line reads
    $post->post_content = (string) apply_filters( 'default_content', $post_content, $post );

    Tried a default theme (2019), and disabling all other plugins, still the same.

    Maybe worth noting, with Yoast active, I got the following:
    Fatal error: Uncaught TypeError: Argument 2 passed to WPSEO_Link_Watcher::save_post() must be an instance of WP_Post, null given, called in /srv/www/SITE/public_html/wp-includes/class-wp-hook.php on line 288 and defined in /srv/www/SITE/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:43 Stack trace: #0 /srv/www/SITE/public_html/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL) #1 /srv/www/SITE/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /srv/www/SITE/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /srv/www/SITE/public_html/wp-includes/post.php(3747): do_action('save_post', 0, NULL, false) #4 /srv/www/SITE/public_html/wp-admin/includes/post.php(628): wp_insert_post(Array) #5 /srv/www/SITE/public_html/wp-admin/post-new.php(70): get_default_post_to_edit('search-filter-w...', true) #6 {main} thrown in /srv/www/SITE/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 43

    Trevor
    #197772

    I have WP 5.0.2 installed on my test site, using the Twenty Fifteen theme. With Gutenberg active or not (it can be disabled using the Classic Editor plugin), I do not see these errors. Did you try deactivating other plugins and custom scripts?

Viewing 2 posts - 1 through 2 (of 2 total)