PHP Parse error
-
I had some similar PHP issues on 22-May-2018 ten days after the first one:
[22-May-2018 20:31:26 UTC] PHP Parse error: syntax error, unexpected end of file in /public_html/wp-content/plugins/sucuri-scanner/src/fileinfo.lib.php on line 251
Line 251 :
&& $filterby === 'directory'
/* check only directories */ if ($fifo->isDir() && $filterby === 'directory' && !$this->ignoreFolder($filepath) ) { $files[] = $filepath; continue; } } catch (RuntimeException $e) { SucuriScanEvent::reportCriticalEvent($e->getMessage()); }
[22-May-2018 20:31:27 UTC] PHP Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) in /public_html/wp-content/plugins/sucuri-scanner/src/hardening.lib.php on line 78
Line 78 doesn’t exit anymore and seems to have been updated but I guess it was referring to line 85 or so :
public static function hardenDirectory($directory = '')
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP Parse error’ is closed to new replies.