Fatal error just after starting
-
Hello,
I am trying to use the plugin to delete old thumbnail sizes.
I tried to run a small test with the images from last week and as soon as I start I just get the error message of “Fatal error just after starting” and “Process finalised”.
Thanks
-
Just realised that if I refresh the page the process shows as paused, and upon “restart” it gives the error message “200 parsererror ::” and that no files were found.
Hi @daniantong,
Can you please try to deactivate all plugins (except ours) and try again?
Does that work?
Best,
Hi @sixaxis
Thanks for the reply. I tried deactivating all plugins and still got the same error.
ThanksHi, @daniantong,
Got it. Could you please do the following?
- Add the following lines to the wp-config.php file:
define('SHORTPIXEL_DEBUG', 4); define('WP_DEBUG', true);
- Try again the regeneration until you get the error
- Remove the lines you added
- Send us the log file in wp-content/uploads/ called rta_log
Thank you,
Hi,
Thanks for the reply. Added them at the end of the file and tried the regeneration but cannot find the rta_log file in the wp-content/uploads/folder.
Let me know how to proceed,
ThanksHi there,
Please notice that you should not add those lines at the very end of the file (sorry for not warning you). You should add them before the line that says “That’s all, stop editing! Happy blogging”.
Try it again, please ??
Best,
Hi!
Sorry for the late reply – got caught up on other things.
Here is the rta_log file[ 2021-01-09 10:24:57 ] [37m DBG [0m Adding Last ID74452 Process.php in runEnqueue(155) ( 0.90381 ) [ 2021-01-09 10:24:58 ] [37m DBG [0m Adding Last ID71102 Process.php in runEnqueue(155) ( 1.24221 ) [ 2021-01-09 10:24:58 ] [37m DBG [0m Adding Last ID68046 Process.php in runEnqueue(155) ( 1.38684 ) [ 2021-01-09 10:24:58 ] [37m DBG [0m Adding Last ID64761 Process.php in runEnqueue(155) ( 1.62141 ) [ 2021-01-09 10:24:58 ] [37m DBG [0m Adding Last ID61503 Process.php in runEnqueue(155) ( 1.73108 ) [ 2021-01-09 10:24:58 ] [37m DBG [0m Adding Last ID58572 Process.php in runEnqueue(155) ( 1.85114 ) [ 2021-01-09 10:24:59 ] [37m DBG [0m Adding Last ID48080 Process.php in runEnqueue(155) ( 2.05531 ) [ 2021-01-09 10:24:59 ] [37m DBG [0m Adding Last ID44347 Process.php in runEnqueue(155) ( 2.19053 ) [ 2021-01-09 10:24:59 ] [37m DBG [0m Adding Last ID41501 Process.php in runEnqueue(155) ( 2.41581 ) [ 2021-01-09 10:24:59 ] [37m DBG [0m Adding Last ID38680 Process.php in runEnqueue(155) ( 2.58025 ) [ 2021-01-09 10:24:59 ] [37m DBG [0m Adding Last ID35825 Process.php in runEnqueue(155) ( 2.68721 ) [ 2021-01-09 10:24:59 ] [37m DBG [0m Adding Last ID33054 Process.php in runEnqueue(155) ( 2.80029 ) [ 2021-01-09 10:24:59 ] [37m DBG [0m Adding Last ID30347 Process.php in runEnqueue(155) ( 2.90784 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID27629 Process.php in runEnqueue(155) ( 3.02536 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID24785 Process.php in runEnqueue(155) ( 3.13123 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID22084 Process.php in runEnqueue(155) ( 3.28389 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID19330 Process.php in runEnqueue(155) ( 3.463 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID16537 Process.php in runEnqueue(155) ( 3.61735 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID13722 Process.php in runEnqueue(155) ( 3.68242 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID11121 Process.php in runEnqueue(155) ( 3.78375 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID8365 Process.php in runEnqueue(155) ( 3.88595 ) [ 2021-01-09 10:25:00 ] [37m DBG [0m Adding Last ID5453 Process.php in runEnqueue(155) ( 3.9843 ) [ 2021-01-09 10:25:01 ] [37m DBG [0m Adding Last ID2429 Process.php in runEnqueue(155) ( 4.08521 ) [ 2021-01-09 10:25:01 ] [37m DBG [0m Adding Last ID40 Process.php in runEnqueue(155) ( 4.14929 ) [ 2021-01-09 10:25:01 ] [37m DBG [0m Preparing done, Starting run status AjaxController.php in prepare(237) ( 4.15039 )
Hi, @daniantong!
Unfortunately, the log doesn’t say much ??
Perhaps there is some fatal error in the PHP logger (to be checked with your hosting provider) or in the WordPress debug file (see this)?
In addition, I asked our developers what those errors mean, but they don’t actually know. A “parse error” might mean that the plugin is not sending a proper request to the server, caused by something that we don’t know… You can investigate this with the Developer Tools, observing the POST request.
Also, you could use the plugin Query Monitor, perhaps that can uncover something as well?
Best,
I have the same issue when trying to delete old thumbnail sizes and getting the same error messages as soon as I hit regenerate. I have installed Query Monitor and have the query report as a screenshot but not sure how I can post it here.
Thanks in advance!Hi, @jimfrostfrost,
You can upload the screenshot to https://imgur.com/ and share with us the link ??
Best,
The screenshot should be on the link above. Many thanks.
Hi @jimfrostfrost,
It looks like the database error is because you are using a very old version of MySQL (5.6.5, from 2012).
Can you please update and try again?
Thank you,
Many thanks for your assistance and reply. I’ll get in touch with my hosting company and ask if they can update the MySQL for me.
- This reply was modified 3 years, 9 months ago by jimfrostfrost.
- Add the following lines to the wp-config.php file:
- The topic ‘Fatal error just after starting’ is closed to new replies.