• Hi,

    I have WordPress 6.1.1. After the last plugin update today to 3.0.9 the server shows the following error:

    PHP Parse error: syntax error, unexpected ')' in /httpdocs/wp-content/plugins/kadence-blocks/includes/settings/class-kadence-blocks-settings.php on line 201

    Waiting for your answer, thank you very much.

    • This topic was modified 2 years, 1 month ago by margr.
Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter margr

    (@mar1984)

    Hello,

    Here is the reply of Insert Page developer:

    I tested inserting a page that had Kadence blocks and they rendered fine. So the issue must be somewhere else with how you are rendering your popup.

    Maybe try instantiating the Kadence Block class before calling do_shortcode(), which may trigger all of the style/script enqueues?

    Kadence_Blocks_Frontend::get_instance();

    Paul Ryan?

    I also think it has to be something that I am not doing well when showing popup. One last question: can I make a call to Kadence_Blocks_Frontend::get_instance(); in some way to render block o collect functions and styles?

    Thank you very much,
    Mar

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hi, I’m not sure I’m following. If I had to guess I would think that because you are doing this via ajax and not a normal page load that your not printing scripts that are enqueued. This wouldn’t mean something Kadence-specific like initializing our class (that should already be happening) but it would mean you need to add a place to print scripts and include them in the response you get back from your ajax request.

    Have you made sure to print and capture enqueued scripts and styles in your ajax request.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Error after update 3.0.9’ is closed to new replies.