Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Hi,
the theme update is just a minor one and, by the look of it, it does not modify core theme files. I can try just ot make sure, though.
The other update, the WPML plugin 3.3 is a major one and just out. I invite you to read their release notes : it’s a scary one and I’d be very afraid of doing that, it will introduce more issues than it can solve. I won’t do it yet, at least until proven stable on other, simpler sites that I have.On the other hand, is it possible to know how the issue mentioned here was resolved, please? http://www.swiftideas.com/forums/topic/notice-on-home-page/
Regards
This reply has been marked as private.This reply has been marked as private.After some search I decided to upgrade the included woocommerce plugin and now, when switching debug on, I get the same type of faults, but this one in addition:
mod_fcgid: stderr: PHP Notice: Undefined index: sidebar_width in /var/www/vhosts/vinoptimo.com/httpdocs/wp-content/themes/dante/page.php on line 11
which is pretty similar to this http://www.swiftideas.com/forums/topic/notice-on-home-page/, but there’s no solution offered in clear.
I think it fails here, but what’s the cause?
if ( WP_DEBUG && apply_filters( ‘deprecated_function_trigger_error’, true ) ) {
if ( function_exists( ‘__’ ) ) {
if ( ! is_null( $replacement ) )
trigger_error( sprintf( __(‘%1$s is deprecated since version %2$s! Use %3$s instead.’), $function, $version, $replacement ) );
else
trigger_error( sprintf( __(‘%1$s is deprecated since version %2$s with no alternative available.’), $function, $version ) );
} else {
if ( ! is_null( $replacement ) )
trigger_error( sprintf( ‘%1$s is deprecated since version %2$s! Use %3$s instead.’, $function, $version, $replacement ) );
else
trigger_error( sprintf( ‘%1$s is deprecated since version %2$s with no alternative available.’, $function, $version ) );
}
}
}Hi,
I will look at the article, thanks. In the meantime switching on debug takes the site down completely with another segfault:
Nov 23 17:55:34 vps67022 kernel: php-cgi[9831]: segfault at 14 ip 00000000006551e8 sp 00007ffde889ed70 error 4 in php-cgi[400000+3a3000]And the error_log lsts a long repetition of the following message:
mod_fcgid: stderr: PHP Notice: La méthode constructor appelée pour WP_Widget est obsolète depuis la version 4.3.0 ! Veuillez utiliser __construct() à la place. in /var/www/vhosts/vinoptimo.com/httpdocs/wp-includes/functions.php on line 3457
Hi,
I have looked at the pages you indicated and investigated some of those recommendations, where possible, but I made no progress.
However, it seems pretty clear that a segfault is primarily a programming error and not a hosting issue. There should be a way to debug it and obtain more informaiton on where it occurs (the php line). One thing is for sure: it is generated by the admin-ajax.php code. Can we create a version with debug statements to narrow down the context, perhaps?-Franco
Hi,
I manage the VM and have full control of it, including security and tuning. Can you let me know what settings are involved in that, which make admin-ajax behave badly? I run plenty of other WP websites which I monitor and, at the moment, Dante is only the theme that creates such segfaults. Sometimes I get other sources of that, but it usually is a programming issue, not a hosting one. However, I am willing to investigate and review the hosting environment if you give me some indications, please. FYI, that website has been granted plenty of resources, thus further increasing them may not be the smartest option.
Regards
All right, thanks, that image was probably removed by hand.
Still, can you tell us what the fix was, please?
Regards
Hi, unfortunately the problem is still there, here is from a moment ago:
[Fri Nov 06 09:14:33 2015] [warn] [client 207.46.13.152] mod_fcgid: stderr: PHP Warning: getimagesize(/var/www/vhosts/vinoptimo.com/httpdocs/wp-content/uploads/2015/04/IMG_1640.jpeg): failed to open stream: No such file or directory in /var/www/vhosts/vinoptimo.com/httpdocs/wp-content/themes/dante/includes/plugins/aq_resizer-1x.php on line 86Besides, can you tell us what you changed, please?
Best regards
This reply has been marked as private.This reply has been marked as private.No, we do not.
Here’s is the latest error, this morning; I think it happens when the client inserts a new blog article.[Thu Nov 05 08:37:01 2015] [warn] [client 157.55.39.57] mod_fcgid: stderr: /vinoptimo.com/httpdocs/wp-content/uploads/2015/04/Copy-of-Barrels07G.jpg): failed to open stream: No such file or directory in /var/www/vhosts/vinoptimo.com/httpdocs/wp-content/themes/dante/includes/plugins/aq_resizer-1x.php on line 86
With the line number it should be easy to dig into, shouldn’t it?
-
Posted in: We hit Power Elite.