• Resolved ThomasJPitts

    (@thomasjpitts)


    This plugin triggers a fatal error on my site. Please find a way to contact me about this privately.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ThomasJPitts

    (@thomasjpitts)

    Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in XXX/wp-content/plugins/photonic/Core/Photonic.php on line 2

    Plugin Author Sayontan Sinha

    (@sayontan)

    It is likely that you have been hacked.

    There is nothing wrong with the file in Photonic – several thousands of users have been using it successfully since the last release over a month back. If there was indeed a problem causing fatal errors, this forum would have seen a lot more messages.

    If you open the file in the plugin editor (Dashboard → Plugins → Plugin Editor → Photonic), you should see that the namespace declaration is the first line of code in the file (in the line after the starting <?php tag, and there should be nothing before the tag). For reference, the correct contents of the file can be seen here.

    Thread Starter ThomasJPitts

    (@thomasjpitts)

    Thanks. Restoring that fixed it – however Sucuri did not pick up the change, nor a malicious login.

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