pixluser
Forum Replies Created
-
Forum: Plugins
In reply to: [Zotpress] Crash with PHP 8.2I tryed all. This one crash :
[zotpress userid=”350556″ collection=”K6RJFJYI” year=”2018″ sortby=”author” sort=”ASC” style=”modern-language-association”]
Maybe because this one get more informations than others.So this crash their server. Maybe because with php 8.2 something take more time to compute. Or maybe something in php 8.2 make it slower. But switching to 8.2 crash the page, and before it wasn’t.
- This reply was modified 4 months, 3 weeks ago by pixluser.
Forum: Plugins
In reply to: [Log in with Google] [GSI_LOGGER]: The value of ‘callback’ is not a function.I’m using oxygen builder… that maybe block something?
Can I try something particular, add a special script on my oxygen builder template to correct this behaviour?
Forum: Reviews
In reply to: [Advanced Media Offloader] Best image cloud offloader.// ✅ 1. Filtre pour wp_get_attachment_url()
add_filter('wp_get_attachment_url', function($url) {
$local = 'https://domain.com/wp-content/uploads';
$cdn = 'https://media.domain.com/wp-content/uploads';
// ✅ Remplace uniquement si c'est encore une URL locale
if (strpos($url, $local) === 0) {
$url = str_replace($local, $cdn, $url);
}
return $url;
});
// ✅ 2. Filtre pour wp_get_attachment_image_src()
add_filter('wp_get_attachment_image_src', function($image) {
$local = 'https://domain.com/wp-content/uploads';
$cdn = 'https://media.domain.com/wp-content/uploads';
// ✅ Assure qu'on modifie bien une URL valide
if (is_array($image) && isset($image[0]) && strpos($image[0], $local) === 0) {
$image[0] = str_replace($local, $cdn, $image[0]);
}
return $image;
});This code helped to replace my dynamic content in metabox .io views. And some others places.
For the static oxygen builder content, I’will have to do it by hand maybe.
I don’t know if it can be an option directly inside the plugin (can be usefull maybe). And can be made better for sure.Hello,
No I didn’t had the chance to try to find the culprit :
I suspect there’s a conflict that’s causing the issue here. Does the issue persist when you don’t use Polylang and just merely set your WordPress’ language to French in Settings -> General -> Site Language?Because I was working for someone and didn’t get the time to investigate.
But for sure there is something there.
If you could try to reproduce the problem, I’m quite confident you’ll have it too.I saw some people having the same problems too :
https://ww.wp.xz.cn/support/topic/warning-message-with-the-events-calendar-version-6-5-1-3-2/
and other examples from google.
It’s possible to mask thoses messages with :@ini_set( 'display_errors', 0 );But it’s not like a true solution don’t you think?
Forum: Plugins
In reply to: [Another simple image optimizer] Compatibility with : imagemagick-engine ?Thanks Raffael,
That’s a good new that imagemagik is used by default if installed, I’ve changed the compressing quality now. That should be good.
Did you heard about compatibilty between your plugin and : https://ww.wp.xz.cn/plugins/offload-media-cloud-storage/
I think I’ll be forced to get another server just for picture, as my cloud is a bit limited 😀Thanks!
Forum: Plugins
In reply to: [ImageMagick Engine] Cannot use object of type WP_Error as arrayI don’t know. But the plugin never worked for me yet.
Forum: Plugins
In reply to: [ImageMagick Engine] Got a critical error on the settings page.Thanks Rickard, can’t wait! It’s a good move for security I guess.
Do you still have your problem?
Forum: Plugins
In reply to: [Another simple image optimizer] Compatibility with : imagemagick-engine ?I tested, and I’m it look it is. Need more tests, as the other plugin can be buggy 🙂
Forum: Plugins
In reply to: [ImageMagick Engine] Got a critical error on the settings page.Two things to fix :
I needed to remove the escapeshellcmd option in PHP my config.
Later I’ve added into my open_basedir path: (linux config, add .exe for win)
:/usr/bin/magick:/usr/bin/convert:/usr/local/bin/magick:/usr/local/bin/convert
But I think that the removing the escapeshellcmd option in PHP my config can lead to serious hack… But I can be wrong? Anyway it can be avoided in the code. That would be awesome to have the code updated (using maybe a method like that : $command = ‘/usr/bin/convert ‘ . escapeshellarg($input); $output = shell_exec($command);) that doens’t require to remove the escapeshellcmd option on php settings.Forum: Plugins
In reply to: [W3 Total Cache] W3 total cache with oxygen builderMm we will wait for the team response so…
Forum: Plugins
In reply to: [W3 Total Cache] W3 total cache with oxygen builderOn the web of my client that use this cache plugin, I double-checked, and finally I de-actived page caching and minifying for him…
Maybe there is still some issues with oxygen builder…
If you can post here @eyefly your tests… maybe W3 cache can do something for you.Forum: Plugins
In reply to: [W3 Total Cache] W3 total cache with oxygen builderYes it’s resolved for me, I de-activated the plugin and it worked. Thanks.