The debug information are the Las entries. Before that there is no error message. What can I do to finish the scan?
Maybe there’s a memory or timeout issue.
Can you enable debugging in WordPress and see if there’s anything written to the PHP error log:
1. Edit your wp-config.php
2. Search for:
define('WP_DEBUG', false);
3. Replace with:
define('WP_DEBUG', true);
4. Add this line below:
define( 'WP_DEBUG_LOG', true );
Run a scan (it if hangs, stop it after one minute). The log, if any, will be saved to “/wp-content/debug.log”.`
Hi,
I followed your instructions. I can not find any memory or timeout issue. I have increased both parameters:
max_input_vars = 3000
post_max_size = 512M
upload_max_filesize = 512M
memory_limit = 512M
max_execution_time = 180
max_input_time = 60
I am running php 8.1 and received a lot of php deprecated messages in the debug mode. But no message mentioned the ninjascanner. Could there be a relation to this messages?
I just downgraded to php 7.4. Same issue, scan does not finish. After canceling the process I receive the message missing lock file. No messsages in the debug.log
It is unlikely related to your PHP version because NinjaScanner was tested with PHP 8.2.
But if there’s nothing in the PHP error log, it could be due to your HTTP server closing the connection. Can you check the HTTP server error log?
Hi,
I receive the following message: End of script output before headers: admin-ajax.php
That seems to be the problem: It looks like your server timed out before the script completed. The scanner sends several requests to the admin-ajax.php script.
Can you increase the HTTP server time-out? Do you have root access?