• Resolved juliarrr

    (@juliarrr)


    Hello! After the latest Give plugin update there is an issue with Multi-Forms.

    You can see it on the default 2023 WordPress theme. When adding the [give_multi_form_goal] shortcode with form ids there is an error https://prnt.sc/EcgD9GwvElQJ and website crashes https://prnt.sc/C7IhyAEgbSLW

    There is the following error:

    fatal error: Uncaught TypeError: Return value of Give\MultiFormGoals\ProgressBar\Model::getForms() must be of the type array, bool returned in C:\OpenServer\domains\test\wp-content\plugins\give\src\MultiFormGoals\ProgressBar\Model.php:81
    Stack trace: 0 C:\OpenServer\domains\test\wp-content\plugins\give\src\MultiFormGoals\ProgressBar\Model.php(138): Give\MultiFormGoals\ProgressBar\Model->getForms() 1 C:\OpenServer\domains\test\wp-content\plugins\give\src\MultiFormGoals\resources\views\progressbar.php(19): Give\MultiFormGoals\ProgressBar\Model->getTotal() 2 C:\OpenServer\domains\test\wp-content\plugins\give\src\MultiFormGoals\ProgressBar\Model.php(112): require(‘C:\OpenServer\d…’) 3 C:\OpenServer\domains\test\wp-content\plugins\give\src\MultiFormGoals\MultiFormGoal\Model.php(112): Give\MultiFormGoals\ProgressBar\Model->getOutput() 4 C:\OpenServer\domains\test\wp-content\plugins\give\src\MultiFormGoals\resources\views\multiformgoal.php(30): Give\MultiFormGoals\MultiFormGoal\Model->getProgressBarOut in …plugins\give\src\MultiFormGoals\ProgressBar\Model.php on line 81

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support David G. Johnson

    (@haveanepiphany)

    Hi @juliarrr

    We’ve investigated this and found that using the ids parameter with the Multi-Form Goal Shortcode with GiveWP 3.0.1 disrupts the editor for the page/post containing the shortcode, and prevents the page/post from displaying properly.

    I’ve escalated this to our development team so they can work on a fix. You can follow up on the progress of the fix here: https://feedback.givewp.com/bug-reports/p/multi-form-goal-shortcode-ids-parameter-breaks-editor-in-givewp-30

    We are actively tracking user issues to make sure our dev team is aware of them and can get them fixed. You can use the link to check in for updates or to provide additional details of your own.

    Give the post above a look, and let me know if you would like me to add any additional details. I want to ensure your need is as accurately reflected as possible. While I’ve already attached this support topic and relevant details to that feedback post internally, I’d be happy to include an internal note to our teams with any additional specific information you would like them to have.

    The workaround, for now, would be to avoid using the ids parameter with the Multi-Form Goal Shortcode or to restore a backup of your website to a point before GiveWP 3.0.

    While we work on a fix, feel free to message us if you have further questions or need any additional assistance!

    Ps. I’ll mark this ticket as resolved because we found out what is wrong. As soon as a fix for it is released, I’ll update you all here.

    Plugin Support David G. Johnson

    (@haveanepiphany)

    Hi @juliarrr

    This issue with the Multi-Form Goal block and shortcode has been resolved! The fix came out with version 3.1.0 of GiveWP.

    Before taking any steps for troubleshooting or updating, I highly recommend taking a good backup of the site you can confidently restore from. Having a backup of your site is essential to a solid workflow, and will allow you to restore to a previous version of the site if you run into any issues. You can read more about our top recommendations for taking a backup here: https://givewp.com/backup-for-faster-troubleshooting/

    Once you have a good backup in place, I recommend updating to the latest version (3.1.1) and testing again.

    If you bump into any issues or if there are questions I can answer, I’ll be more than happy to help!

    Thread Starter juliarrr

    (@juliarrr)

    Thanks a lot! As I can see it is fixed now.

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with Multi-Form displaying’ is closed to new replies.