• Resolved charlirena

    (@charlirena)


    The update broke my site. My error log is showing this [18-Sep-2020 23:00:43 UTC] PHP Parse error: syntax error, unexpected ‘:’ in /home1/anatura4/public_html/definenaturalhair/wp-content/plugins/ninja-forms/ninja-forms.php on line 354

    Please help!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you want to fix it temporarily, change line 354 from

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

    to

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

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

    Hello,

    This solution didn’t work for me.
    I always have an error message :

    Warning: Division by zero in /home/bsystem/www/wp-content/plugins/ninja-forms/ninja-forms.php on line 354

    Warning: require_once(0php’): failed to open stream: No such file or directory in /home/bsystem/www/wp-content/plugins/ninja-forms/ninja-forms.php on line 354

    Fatal error: require_once(): Failed opening required ‘0php’’ (include_path=’.:/usr/local/php5.6/lib/php’) in /home/bsystem/www/wp-content/plugins/ninja-forms/ninja-forms.php on line 354.

    Help me please

    1. Restore the ninja forms plugin folder from your backups to the previous version.
    2. Wait for a fix.

    Plugin Contributor Justin McElhaney

    (@jmcelhaney)

    @jeroenhuijben @thoare @charlirena
    Can you make sure that you are updated to the latest version of Ninja Forms, 3.4.30 and see if you are still having the same issue?
    If you are still having issues, the quickest way to get support is through our official Ninja Forms support form. https://ninjaforms.com/contact

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