• Resolved philipgledhill

    (@philipgledhill)


    If I use a WP Show Posts shortcode in a Beaver Builder Lite layout, THEN use the WordPress search widget, I get an error message.

    If I disable WP Show Posts the error message goes away and the search results work again.

    Is there a way to use WP Show Posts AND the WordPress Search widget with Beaver Builder Lite please?

    I have the standard premium version of Beaver Builder with the posts module. But I want to help people using the Lite version.

    Thanks.

    I’ve tried several themes this message came when using Twenty Seventeen theme…

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'generate_blog_post_classes' not found or invalid function name in C:\xampp\htdocs\testsite1\wp-includes\class-wp-hook.php on line 288
    
    Warning: array_unique() expects parameter 1 to be array, null given in C:\xampp\htdocs\testsite1\wp-includes\post-template.php on line 545
    
    Warning: join(): Invalid arguments passed in C:\xampp\htdocs\testsite1\wp-includes\post-template.php on line 423
    class="">

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Jamie

    (@codente)

    Hi Philip,

    Can you clarify if you are adding the search widget to the page via the WP admin or the BB interface and at what point you get the notices – is it when doing a search?

    Thread Starter philipgledhill

    (@philipgledhill)

    Hello Jamie

    I tried adding the search widget to the page via the WP admin AND the BB interface. (Sidebar, footer and BB column.)

    I only get the error messages AFTER I search with the search widget.

    Everything is up to date according to the WordPress Dashboard.

    Beaver Builder Version 2.1.1.3

    Plugin Contributor Jamie

    (@codente)

    Hi Phillip,

    So sorry for the delay. I didn’t get a notification that you replied. So I’ve tried testing this various ways and I don’t see the problem.

    But we’ve released a few updates since 2.1.1.3 – are you able to test with current version?

    If you get the same thing, then can you tell me step by step what you are doing to re-create? Perhaps I’m missing a step.

    Again, sorry for the delay!

    Thread Starter philipgledhill

    (@philipgledhill)

    Hello Jamie

    I just tried again using…

    WordPress: Version 4.9.6 and Twenty Seventeen theme

    Beaver Builder Plugin (Lite Version): Version 2.1.2.4

    WP Show Posts: Version 1.1.2

    And nothing else.

    • I made six test posts.
    • I went to Dashboard > WP Show Posts > Add New
    • I left all settings standard, clicked the publish button then copied the shortcode.
    • I made a test page and launched the Page builder.
    • I dragged a two column row into the page.
    • I then dragged a Beaver Builder text editor widget into one of the columns and pasted the WP Show Posts shortcode into the Beaver Builder text editor widget, using the text tab, inside the Beaver Builder column. I also tried a HTML widget, just in case that worked.
    • I placed a text widget containing plain text in the other column.

    I now had…

    • A Beaver Builder layout.
    • Two columns.
    • Two Beaver Builder text editor widgets.
    • One text editor widget contained a WP Show Posts Shortcode, the other text editor widget contained plain text.

    I also tried using the WP Show Posts WordPress widget via…
    Modules > Group > WordPress Widgets: WP Show Posts.

    *****
    THE PROBLEM STARTS HERE!
    *****

    I now added a WordPress Search widget to the footer and searched.

    I now see the error message described above.

    Thanks for your patience and perseverance.
    Philip.

    Plugin Contributor Jamie

    (@codente)

    Hi Phillip,

    I’m still not able to replicate the issue. What version of PHP are you using?

    Thread Starter philipgledhill

    (@philipgledhill)

    Hello Jamie

    I was using PHP 7.0.
    I’m now using PHP 7.1.

    Error occurs on both versions.

    Everything is up to date according to WordPress dashboard.

    Plugin Contributor Jamie

    (@codente)

    Ok, I tested with PHP 7 and PHP 7.1. I’m not sure why I can’t replicate it. Are you always searching for the same text or does it occur with different text also?

    Thread Starter philipgledhill

    (@philipgledhill)

    So long as there are posts to display, the error message appears between the posts in the search results.

    If you give me a definite time you can view the site, I can add the search widget for you to see for yourself.

    I don’t want to leave the site with an error for long.

    I’m busy until Monday afternoon UK time. But if you could pick a time between Monday and Thursday, I’ll activate the search widget for you to see.

    Thanks once again for your perseverance. Beaver Builder and WP Show Posts make a terrific combination, I’m really hoping this will work.

    Plugin Contributor Jamie

    (@codente)

    Sure thing – can you submit a message via this form (Choose General Inquiry) and then also mention my name (Jamie) and we can discuss further.

    https://www.wpbeaverbuilder.com/contact/

    Thread Starter philipgledhill

    (@philipgledhill)

    Thanks Jamie
    I’ve left a message via the link above.

    Thread Starter philipgledhill

    (@philipgledhill)

    Thanks for your persistence Jamie.

    There’s an update coming soon to WP Show Posts that will fix the problem.

    Many thanks from a great big Beaver Builder fan.

    Best wishes
    Philip.

    Plugin Contributor Jamie

    (@codente)

    Of course – I had got help from a developer also so I think that moved it along ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WP Show Posts AND WordPress Search Widget Compatibility’ is closed to new replies.