• Resolved jyrilaitinen

    (@jyrilaitinen)


    My WP site updated Ninja forms automatically last night and the 3.4.29 broke hole site. Niw it wount let activate Ninja forms it just gives following error:
    Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM) in /home/jyrilait/public_html/wp-content/plugins/ninja-forms/ninja-forms.php on line 354

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Exactly the same. Running the latest version of all other plugins, theme builder and WordPress. Theme builder is Divi. https://ljlighthouse.com/

    Same here!

    Hi

    I fixed it by going to the file ninja-forms.php, and on line 354 change

    from:
    require_once Ninja_Forms()::$dir . ‘blocks/ninja-forms-blocks.php’;

    to:
    require_once Ninja_Forms::$dir . ‘blocks/ninja-forms-blocks.php’;

    br.
    Michael

    Hi, @soendberg thank you, it worked well for me

    Yes, thank you for the fix suggestion, that should get a lot of folks back online with their forms. However, to be fair, this isn’t a repair and we need to hear from the developer that an official repaired version has been released.

    Can I ask a stupid question because I’m a newbie? This also broke our website. How do I make that change in the ninja-forms.php file if I can’t access our website. Also, where exactly is that file and how do I change it?

    Thank so much for any help.

    Usually webhosts will offer FTP or a filemanager on the managementportal.
    Use that too get the file on your PC, change it and replace it.

    I just rolled back the whole ninja-forms plugin folder from a backup.

    • This reply was modified 4 years, 2 months ago by jeroenhuijben.

    Thank you jeroenhuijben.

    Hi @soendberg
    Thanks a million, that worked for me!

    I’ve put a back-up in File zilla and for now the problem is solved. I hope that still will be the status once I’ve renew the plu-ins.

    • This reply was modified 4 years, 2 months ago by sandratieks.
    • This reply was modified 4 years, 2 months ago by sandratieks.

    First I ‘ve put back an back-up of the website. Then I’ve upgraded the PHP version. After that I did not have any problems with the upgrade of the pug-in.

    That fix worked perfectly. Thank you so much!

    hi @kluther
    You need to access your installation via FTP. You should find the relevant information where your site is hosted.

    Hi @ext237
    Well – it is not a repair, true – but the people behind the Ninjaforms released code that can not even compile. How much credit should you give them at this point? What fix is needed in the next release?

    Do whatever you wan’t – but I think I am done with automatic updates from those guys. And will strongly consider avoiding their plug-ins in the future.
    br.

    Plugin Contributor Justin McElhaney

    (@jmcelhaney)

    @jyrilaitinen @ext237 @thinkdolphin @soendberg @ebiashidi @kluther @canu @sandratieks @brookh
    I am sorry for the issue that you had with version 3.4.29 of Ninja Forms. The issue that caused this error to happen has been patched in the latest version of Ninja Forms, 3.4.30
    If you continue to have issues, please reach out to our official support through ninjaforms.com/contact

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘3.4.29 broke my WP site’ is closed to new replies.