Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter moshbo

    (@moshbo)

    I deactivate my theme and activated the twentytwentyfive

    I tried to deactivate all plugins except WP Adminer

    WP Versiosn – 6.7.1

    I can check about the dev env. btw, plugin version 2.2.2 does works for me

    Thread Starter moshbo

    (@moshbo)

    Unfortunately I cant share access to FTP

    Thread Starter moshbo

    (@moshbo)

    like this? if yes, so its still not working.

    if( !function_exists('have_current_user_access_to_pexlechris_adminer') ){
    function have_current_user_access_to_pexlechris_adminer()
    {
    foreach (pexlechris_adminer_access_capabilities() as $capability) {
    if ( ! defined( 'COOKIEHASH' ) ) {
    $siteurl = get_site_option( 'siteurl' );
    if ( $siteurl ) {
    define( 'COOKIEHASH', md5( $siteurl ) );
    } else {
    define( 'COOKIEHASH', '' );
    }
    }
    if ( ! defined( 'SECURE_AUTH_COOKIE' ) ) {
    define( 'SECURE_AUTH_COOKIE', 'wordpress_sec_' . COOKIEHASH );
    }
    require_once ABSPATH . WPINC . '/pluggable.php';
    if( current_user_can($capability) ) return true;
    }

    return false;
    }
    }
    Thread Starter moshbo

    (@moshbo)

    [14-Jan-2025 07:59:37 UTC] PHP Fatal error: Uncaught Error: Undefined constant "SECURE_AUTH_COOKIE" in /www/payoneerchina_288/public/wp-includes/pluggable.php:929

    Stack trace:

    #0 /www/payoneerchina_288/public/wp-includes/pluggable.php(694): wp_parse_auth_cookie(false, '')

    #1 /www/payoneerchina_288/public/wp-includes/class-wp-hook.php(324): wp_validate_auth_cookie(false)

    #2 /www/payoneerchina_288/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)

    #3 /www/payoneerchina_288/public/wp-includes/user.php(3688): apply_filters('determine_curre...', false)

    #4 /www/payoneerchina_288/public/wp-includes/pluggable.php(70): _wp_get_current_user()

    #5 /www/payoneerchina_288/public/wp-includes/capabilities.php(911): wp_get_current_user()

    #6 /www/payoneerchina_288/public/wp-content/plugins/pexlechris-adminer/pluggable-functions.php(59): current_user_can('manage_options')

    #7 /www/payoneerchina_288/public/wp-content/mu-plugins/pexlechris_adminer_avoid_conflicts_with_other_plugins.php(27): have_current_user_access_to_pexlechris_adminer()

    #8 /www/payoneerchina_288/public/wp-includes/class-wp-hook.php(326): {closure}(Array)

    #9 /www/payoneerchina_288/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)

    #10 /www/payoneerchina_288/public/wp-includes/option.php(247): apply_filters('option_active_p...', Array, 'active_plugins')

    #11 /www/payoneerchina_288/public/wp-content/mu-plugins/wpacu-plugins-filter.php(24): get_option('active_plugins', Array)

    #12 /www/payoneerchina_288/public/wp-settings.php(451): include_once('/www/payoneerch...')

    #13 /www/payoneerchina_288/public/wp-config.php(113): require_once('/www/payoneerch...')

    #14 /www/payoneerchina_288/public/wp-load.php(50): require_once('/www/payoneerch...')

    #15 /www/payoneerchina_288/public/wp-blog-header.php(13): require_once('/www/payoneerch...')

    #16 /www/payoneerchina_288/public/index.php(17): require('/www/payoneerch...')

    #17 {main}

    thrown in /www/payoneerchina_288/public/wp-includes/pluggable.php on line 929
    Thread Starter moshbo

    (@moshbo)

    This page isn’t working

    mysitename.kinsta.cloud is currently unable to handle this request.

    HTTP ERROR 500

    Thread Starter moshbo

    (@moshbo)

    Thank you for your reply, yes, click on the top bar “WP Adminer”. I’m trying to upload screenshot but its keep loading.

    My site is secure with http auth, maybe its related to this?

Viewing 6 replies - 1 through 6 (of 6 total)