• Resolved gluecklichezwerge

    (@gluecklichezwerge)


    Since yesterday I am getting the following error when trying to visit a project’s webpage.

    “Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /pages/ef/ef/d0013969/home/htdocs/wp-content/plugins/woo-paypalplus/src/Nonce.php on line 6”

    Only solution was to rename the PayPalPlus plugin folder. For now I enabled the standard woocommerce PayPal plugin again.

    Best regards,

    -Björn

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • petschko

    (@petschko)

    I recommend to check this file, in my file the first PHP-Statement is namespace WCPayPalPlus; which is correct.

    If there is anything else in this PHP-File before the namespace you should figure out what is modifying this file (normally nothing should/need to change this file)

    Thread Starter gluecklichezwerge

    (@gluecklichezwerge)

    Hi Petschko,

    thanks for your reply.
    I can confirm, this is also the first statement in my file. Strange.
    Then I’m going to disable other plugins to make sure none of them are producing this effecting.
    For now I’ll leave this thread open and will post my results later and close the thread.

    Edit: Just realized devs published a new update. After this everything is working flawless.

    Best regards,

    -Björn

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error’ is closed to new replies.