Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)
  • Thread Starter pixelsing

    (@pixelsing)

    Error is :
    Error establishing a Redis connection

    read error on connection to 127.0.0.1:6379

    WordPress is unable to establish a connection to Redis. This means that the connection information in your wp-config.php file are incorrect, or that the Redis server is not reachable.

    • Is the correct Redis host and port set?
    • Is the Redis server running?
    Thread Starter pixelsing

    (@pixelsing)

    Ok… And do you have any idea how to fix the problem ?

    Thread Starter pixelsing

    (@pixelsing)

    Yes,

    # redis-cli -h localhost

    localhost:6379>

    I’ve 2 others websites on this server, using ROC without problem

    Thread Starter pixelsing

    (@pixelsing)

    I am the “host’s support team” 😉

    Thread Starter pixelsing

    (@pixelsing)

    Thanks !

    Thread Starter pixelsing

    (@pixelsing)

    On this website, we use the recommanded version for WordPress 6.x : PHP 7.4

    Thanks Tim for new version.
    No more problems.

    yes

    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_ERROR was caused in line 236 of 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} thrown

    Thread Starter pixelsing

    (@pixelsing)

    I 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 the cpt-tables domain 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 the init action 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 the wp-dark-mode domain 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 the init action 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 helps

    function get_media_status(
            $skip = 0,
            $limit = 10,
            $filterBy = ‘pending’,
            $orderBy = ‘post_title’,
            $order = ‘asc’,
            $search = null,
            $hide_locked = true, <= the “,” must be removed
            ) {….

    Thread Starter pixelsing

    (@pixelsing)

    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 );

    Thread Starter pixelsing

    (@pixelsing)

    OK, 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.

    Thread Starter pixelsing

    (@pixelsing)

    Thanks, I confirm that updating to version 2.8.16 solves the issue

    Thread Starter pixelsing

    (@pixelsing)

    I’ve tried to revert to previous version. This worked for the development website but not for the production website

    Thread Starter pixelsing

    (@pixelsing)

    Thank you for your answer.
    Your plugin is great, with this addition, it would be perfect.

Viewing 15 replies - 1 through 15 (of 31 total)