• Resolved mhinparis

    (@mhinparis)


    Hi,

    I have WP 6.5.3 installed.

    After update to popup version 4.3.0 the wp-admin access for users of level editor is blocked.

    Could you please check and update the plugin for compatibility?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • runthings.dev

    (@runthingsdev)

    Yep, I’ve just spent the last two hours trying to figure out what was wrong with the site. For shop managers, or editors, its failing, on multiple sites.

    In the end I put a backtrace on the wp_die with this code:

    // Remove this code after debugging
    function log_wp_die_backtrace($message, $title = '', $args = array()) {
        error_log('wp_die called: ' . print_r($message, true));
        error_log('Backtrace: ' . print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), true));
        _default_wp_die_handler($message, $title, $args);
    }
    add_filter('wp_die_handler', function() {
        return 'log_wp_die_backtrace';
    });

    And this debug setting in wp-config.php:

    define('WP_DEBUG', false);
    define('WP_DEBUG_LOG', false);
    define('WP_DEBUG_DISPLAY', false);

    And that output the culprit:

    [13-May-2024 21:52:39 UTC] wp_die called: You do not have permission to access this page!
    
    [13-May-2024 21:52:39 UTC] Backtrace: Array
    
    (
    
    [0] => Array
    
    (
    
    [file] => /home/sitename/public_html/wp-includes/functions.php
    
    [line] => 3785
    
    [function] => log_wp_die_backtrace
    
    )
    
    [1] => Array
    
    (
    
    [file] => /home/sitename/public_html/wp-content/plugins/popup-builder/com/classes/Updates.php
    
    [line] => 110
    
    [function] => wp_die
    
    )
    
    [2] => Array
    
    (
    
    [file] => /home/sitename/public_html/wp-includes/class-wp-hook.php
    
    [line] => 324
    
    [function] => sgpbActivateLicense
    
    [class] => sgpb\Updates
    
    [type] => ->
    
    )
    
    [3] => Array
    
    (
    
    [file] => /home/sitename/public_html/wp-includes/class-wp-hook.php
    
    [line] => 348
    
    [function] => apply_filters
    
    [class] => WP_Hook
    
    [type] => ->
    
    )
    
    [4] => Array
    
    (
    
    [file] => /home/sitename/public_html/wp-includes/plugin.php
    
    [line] => 517
    
    [function] => do_action
    
    [class] => WP_Hook
    
    [type] => ->
    
    )
    
    [5] => Array
    
    (
    
    [file] => /home/sitename/public_html/wp-admin/admin.php
    
    [line] => 175
    
    [function] => do_action
    
    )
    
    [6] => Array
    
    (
    
    [file] => /home/sitename/public_html/wp-admin/index.php
    
    [line] => 10
    
    [args] => Array
    
    (
    
    [0] => /home/sitename/public_html/wp-admin/admin.php
    
    )
    
    [function] => require_once
    
    )
    
    )

    I’ve commented out the hook which is calling the rogue line in the bold reference above, which has fixed my site:

    // add_action('admin_init', array($this, 'sgpbActivateLicense'));

    I think thats a good enough fix for tonight as I expect you will be releasing a hotfix for this as soon as you see this thread…

    runthings.dev

    (@runthingsdev)

    Plugin Support Jawad Ahmed

    (@jawada)

    Hi @mhinparis and @runthingsdev

    We apologise for the inconvenience. We are currently investigating and working to resolve the reported issue. In the meantime, we recommend using an older version of the plugin.

    https://www.ads-software.com/plugins/popup-builder/advanced/

    Please follow these steps to download it:

    1. Visit the provided link.
    2. Scroll down to “Advanced Option.”
    3. Under “Please select a specific version to download,” click on the dropdown menu and choose the version you wish to download.
    4. Upload this version to your WordPress site and replace the existing plugin.

    This workaround should address the issue temporarily. We expect to release a permanent fix in the next version of the plugin.

    Thank you for your patience and understanding.

    Best regards,

    Popup Builder Team

    Plugin Support Jawad Ahmed

    (@jawada)

    Hi All,

    We regret any inconvenience caused. An updated version has been released; kindly update your plugin to the latest version. The issue has been addressed int his version. Should the problem persist, please use our support page link (https://help.popup-builder.com/en/) to reach out to us directly. There, you’ll have the option to chat with us or send an email. If further information is needed to assist you with this matter, our team will be ready to promptly support you.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘problem with version 4.3.0 acces refused for site editors’ is closed to new replies.