enkirch
Forum Replies Created
-
Hi
It’s December now (almost) . The notices are still there ??
PHP 8.2.12
Forum: Plugins
In reply to: [EWWW Image Optimizer] Cronjobs ExplainingNow I having
Current status of the queue: busy
Currently, there are 901 images in the queue.But only 1 Cronjob listed: ewww_image_optimizer_auto
The cronjob called “wp_ewwwio_image_optimize_cron” is missing
Forum: Plugins
In reply to: [EWWW Image Optimizer] Cronjobs ExplainingOn other websites (same Theme, just different language and page hits) i only have “ewww_image_optimizer_auto” right now.
Forum: Plugins
In reply to: [EWWW Image Optimizer] Erase Optimization History – 724350 entriesIs there a maximum time period in which images are optimized ?
I just restarted the cronjob myself several times and at some point there were images in the queue that were optimized.
Then it stopped. And then it continued?
Does this also have something to do with the cronjob “wp_ewwwio_image_optimize_cron” and “”ewww_image_optimizer_auto”.
I’m sure I’ve only seen one of each for the past few weeks?
Forum: Plugins
In reply to: [EWWW Image Optimizer] Erase Optimization History – 724350 entriesHi,
yes we are watching the whole thing now. And look every few hours of these valuesThere are 5,932 images optimized so far.
Current status of the queue: busy
Currently there are 109 images in the queue.One question I have.
Why are images in the queue and not optimized?
A jpeg takes about 1 second, so that would be about 2min. Why were these images not optimized during the last cronjob call?Forum: Plugins
In reply to: [EWWW Image Optimizer] Erase Optimization History – 724350 entriesOk we have deleted the entries now. Despite the amount of images, it only took a few seconds to clear the table.
Also worth noting. Before the mass optimizer needed for 1 image (jpeg) about 4-5 seconds.
Now one image needs about 0.5 – 1 second.
Forum: Plugins
In reply to: [EWWW Image Optimizer] Trigger cronjob manuallyHi,
im not using the premium option, and yes the scheduled optimization.
the event is called “ewww_image_optimizer_auto” in the plugin where it lists all cronjobs.
To avoid double compression, you can also exclude paths from optimization with the plugin. So you could exclude images that have already been optimized by the old plugin.
Exclude Images
Forum: Plugins
In reply to: [EWWW Image Optimizer] Compress manuallyThat sounds good.
Is the following also guaranteed with the call
- Check if the images have already been compressed to prevent double compression
- At the moment when I create several small image formats from the original images, it can also happen that I do this for several customers. If I now process 2 customers, I would also have to call the function twice with different paths. is this a problem? Because in the moment also then the database with the already optimized images would have to be loaded, by the 2 calls.
I have also briefly looked at the function. the description says
@param string $file Full absolute path to the image file.
Can I now not store a folder path there? But must specify the path directly to the file?
- This reply was modified 1 year, 8 months ago by enkirch.
Forum: Plugins
In reply to: [EWWW Image Optimizer] “Folders to Optimize” – adjust the path automaticallyThank you very much. In case anyone needs an idea sometime later.
I am currently working on the following idea.
I create myself a list of paths as an array, json_encode, and save this to a text file.
In wp-config I load the textfile, json_decode, and assign this to “EWWW_IMAGE_OPTIMIZER_AUX_PATHS”.
This way I always have the latest new paths stored and the plugin doesn’t have to scan through 10000+ images and folders.
Forum: Plugins
In reply to: [EWWW Image Optimizer] Cronjob Optimisation – Scan MethodeOK, I’ll try to explain it another way.
we have 100000 images approx.
The current plan is to optimise them with the mass optimiser gradually over the next few weeks.
Unfortunately the cronjob does not start, probably because there are too many pictures.
If I now
define( ‘EWWW_IMAGE_OPTIMIZER_SCAN_MODE_B’, true );
would this apply to the mass optimiser and the cron job optimiser or only to the mass optimiser.
I currently manage about 1500 images per hour with the Massen Optimerer. Is there anything else I can do?
- This reply was modified 1 year, 8 months ago by enkirch.
I had the same thing with a custom theme i created. I guess there is a admin_init hook which creates this error.
I would rather tell the other plugin provider that their plugin produces errors related to Wordfence’s 2FA.
Which plugin is that exactly?
This is a simple shortcode you can place in your theme. this is possible since 7.9.0 – February 14, 2023 for everyone. (https://www.wordfence.com/help/advanced/changelog/)
To learn how to add shortcodes, take a tutorial like this
https://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/
Hi Thanks. I just saw that the screenshot I linked above is just a thumbnail. This here is a better one. Sorry
You can easily recreate it, if you download the free version and look in the folder. This 2 Files are just not there ^^
Just saw the new shortcode management. this is awesome so far!
Now, the only thing i need is, a way to display a banner everywhere, if the 2fa is not set up and is necessary soon.(with the expiration date)
The banner you’re already showing in the wp-admin.