pixelsing
Forum Replies Created
-
Forum: Plugins
In reply to: [Redis Object Cache] Working on a website and not on anotherError is :
Error establishing a Redis connectionread error on connection to 127.0.0.1:6379WordPress is unable to establish a connection to Redis. This means that the connection information in your
wp-config.phpfile are incorrect, or that the Redis server is not reachable.- Is the correct Redis host and port set?
- Is the Redis server running?
Forum: Plugins
In reply to: [Redis Object Cache] Activation of ROC crashes websiteOk… And do you have any idea how to fix the problem ?
Forum: Plugins
In reply to: [Redis Object Cache] Activation of ROC crashes websiteYes,
# redis-cli -h localhost
localhost:6379>
I’ve 2 others websites on this server, using ROC without problemForum: Fixing WordPress
In reply to: wp-login.php code replaced by error 404 html codeI am the “host’s support team” 😉
Thanks !
On this website, we use the recommanded version for WordPress 6.x : PHP 7.4
Forum: Plugins
In reply to: [Loco Translate] V2.6.13 causes a ctritical error on the websiteThanks Tim for new version.
No more problems.Forum: Plugins
In reply to: [Loco Translate] V2.6.13 causes a ctritical error on the websiteyes
Version 2.6.13 | By Tim Whitlock | View details
This plugin failed to load properly and is paused during recovery mode.
An error of type
E_ERRORwas caused in line236of the file/home/vxcp8147/public_html/wp-content/plugins/loco-translate/src/fs/Locations.php. Error message:Uncaught InvalidArgumentException: Failed on abs('home/vxcp8147/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/languages/') in /home/vxcp8147/public_html/wp-content/plugins/loco-translate/src/fs/Locations.php:236 Stack trace: #0 /home/vxcp8147/public_html/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand('home/vxcp8147/p...') #1 /home/vxcp8147/public_html/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check('home/vxcp8147/p...') #2 /home/vxcp8147/public_html/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType('home/vxcp8147/p...') #3 /home/vxcp8147/public_html/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain('redux-framework', 'home/vxcp8147/p...') #4 /home/vxcp8147/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #5 /home/vxcp8147/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/vxcp8147/public_html/wp-includes/l10n.php(784): do_action('load_textdomain', 'redux-framework', 'home/vxcp8147/p...') #7 /home/vxcp8147/public_html/wp-includes/l10n.php(1120): load_textdomain('redux-framework', 'home/vxcp8147/p...', 'en_GB') #8 /home/vxcp8147/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/framework.php(658): load_theme_textdomain('redux-framework', 'home/vxcp8147/p...') #9 /home/vxcp8147/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/framework.php(336): ReduxFramework->_internationalization() #10 /home/vxcp8147/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/inc/class.redux_api.php(117): ReduxFramework->__construct(Array, Array) #11 /home/vxcp8147/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/inc/class.redux_api.php(129): Redux::loadRedux('salient_redux') #12 /home/vxcp8147/public_html/wp-includes/class-wp-hook.php(324): Redux::createRedux('') #13 /home/vxcp8147/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #14 /home/vxcp8147/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /home/vxcp8147/public_html/wp-settings.php(700): do_action('init') #16 /home/vxcp8147/public_html/wp-config.php(66): require_once('/home/vxcp8147/...') #17 /home/vxcp8147/public_html/wp-load.php(50): require_once('/home/vxcp8147/...') #18 /home/vxcp8147/public_html/wp-admin/admin.php(34): require_once('/home/vxcp8147/...') #19 /home/vxcp8147/public_html/wp-admin/plugins.php(10): require_once('/home/vxcp8147/...') #20 {main} thrownForum: Plugins
In reply to: [Loco Translate] Problem with v2.6.12I don’t know what to say. It’s just a fact…
The website is in production and sells tickets for shows so I can’t “play” with it and let the bug.
If necessary, I’ll do a duplication for you but I’ve no time for that next week.
Seen on admin of another website WP 6.7, Loco 2.6.12 :
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for thecpt-tablesdomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/clients/client0/web109/web/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for thewp-dark-modedomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/clients/client0/web109/web/wp-includes/functions.php on line 6114
Maybe it can helpsfunction get_media_status(
$skip = 0,
$limit = 10,
$filterBy = ‘pending’,
$orderBy = ‘post_title’,
$order = ‘asc’,
$search = null,
$hide_locked = true, <= the “,” must be removed
) {….I also propose an alternative to bypass all roles except […] :
function loggedin_bypass_roles( $prevent, $user_id ) {// Array of roles to control.
$disallowed_roles = array( ‘subscriber’ );$user = get_user_by( ‘id’, $user_id );
$roles = ! empty( $user->roles ) ? $user->roles : array();
return empty( array_intersect( $roles, $disallowed_roles ) );
}
add_filter( ‘loggedin_bypass’, ‘loggedin_bypass_roles’, 10, 2 );
Forum: Plugins
In reply to: [Advanced GeoIP Redirect] Last version broke the websiteOK, thank you. I’d put the old version back on in the meantime, so I’ll give it a try when I get a moment.
Thanks, I confirm that updating to version 2.8.16 solves the issue
I’ve tried to revert to previous version. This worked for the development website but not for the production website
Forum: Plugins
In reply to: [Easy Accordion Block] Default colorsThank you for your answer.
Your plugin is great, with this addition, it would be perfect.