I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: Version of plugin 4.0 gives error and wp stops working.

dashed-slug.net Forums General discussion Version of plugin 4.0 gives error and wp stops working. Reply To: Version of plugin 4.0 gives error and wp stops working.

#5717
alexg
Keymaster

Thank you both for providing me with the debug info.

@bigblue If your adapters are locked, then you should not expect any withdrawals to proceed from the pending state to anything else. Unlock the adapters first and the withdrawals will be processed. To do this:

1. Go to “Wallets” -> “Cron job” -> “Withdrawal locks” -> “Time to retain withdrawal secrets”. Set this either to 0 or to a large value, depending on how long you want to unlock the adapters for.

2. Go to your adapter settings and set the passphrase. If you have set the passphrase correctly, the adapters will then be unlocked.

I am also somewhat surprised to see that you are using almost half of the 512MB of memory. But if you have many plugins installed it is possible.

@frodogrguez Yor cronjob is indeed not running. It’s hard to know why. You have a lot of memory (512MB) allocated to WordPress. I normally test the code only with 40MB. The PHP timeout value is also sufficiently large. I keep mine at 30 seconds, but what you have also works. Also, make sure to enable the debug log in your wp-config.php. It is currently disabled.

@bigblue @frodogrguez You both say that you do not get any debug output. This is very strange. Can you confirm please? To be clear:

1. Make sure that you are running 4.0.1, today’s release.

2. Check “Verbose log output (debug)” and click save settings. (you should have already done this)

3. Trigger the cron job once via the link provided in the admin settings.

You can do this via your browser by simply following the link. The result should be a JSON response saying “result: success”

4. Then check the log file in wp-content/debug.log. There has to be something there. There should be a line that says “cron jobs STARTED”. Then a few more lines. Finally a line that says “cron jobs FINISHED”. Do you see any of this?