• Resolved Shane

    (@shanemarsh28)


    Upon upgrade to 1.8.7.1 we noticed an increased level of Fatal errors. Reverting back to 1.8.6.4 resolved the issue. See stack trace. We are running PHP8.2.

    2024/02/29 15:43:54 [error] 1320#1320: *391 FastCGI sent in stderr: "PHP message: PHP Warning:  Attempt to read property "post_content" on array in ../wp-content/plugins/wpforms/src/Frontend/Frontend.php on line 215; PHP message: PHP Fatal error:  Uncaught TypeError: WPForms_Conditional_Logic_Fields::detect_payment_conditionals(): Return value must be of type array, bool returned in ../wp-content/plugins/wpforms/pro/includes/class-conditional-logic-fields.php:559
    Stack trace:
    #0 ../wp-includes/class-wp-hook.php(324): WPForms_Conditional_Logic_Fields->detect_payment_conditionals()
    #1 ../wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 ../wp-content/plugins/wpforms/src/Frontend/Frontend.php(215): apply_filters()
    #3 ../wp-content/plugins/wpforms/src/Frontend/Frontend.php(1995): WPForms\Frontend\Frontend->output()
    #4 ../wp-includes/shortcodes.php(433): WPForms\Frontend\Frontend->shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 ../wp-includes/shortcodes.php(542): preg_replace_callback()
    #7 ../wp-includ" while reading response header from upstream, client: 130.176.209.117, server: *.sam-staging.salonguru.net, request: "GET /about-us/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock:", host: "<URL>", referrer: "https://<URL>/"
Viewing 3 replies - 1 through 3 (of 3 total)
  • Seredniy

    (@seredniy)

    Hey, Shane! Could you please provide more info and maybe some additional steps to reproduce it?

    Maybe you use some code snippets related to wpforms/posts? I am talking about the custom add_filter(), and add_action() in your theme/plugins.

    It will be helpful to see that code and prepare a fix. Thank you!

    • This reply was modified 1 year ago by Seredniy.
    Thread Starter Shane

    (@shanemarsh28)

    Hiya!

    I’ve logged into our Pro support and logged a ticket there with more detail.

    Thank you ??
    Shane

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @shanemarsh28,

    Thanks for letting us know!

    From our records, I could see we are working on the issue in the ticket #4028069.

    Since you are using the paid version of WPForms, I’m closing this topic. I apologize that we’re not able to respond to paid version questions here in the www.remarpro.com support forums for the free version.

    So, we will continue the conversation about the issue on that ticket.

    Thanks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.