Title: runthings.dev's Replies - page 2 | WordPress.org

---

# runthings.dev

  [  ](https://wordpress.org/support/users/runthingsdev/)

 *   [Profile](https://wordpress.org/support/users/runthingsdev/)
 *   [Topics Started](https://wordpress.org/support/users/runthingsdev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/runthingsdev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/runthingsdev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/runthingsdev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/runthingsdev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/runthingsdev/favorites/)

 Search replies:

## Forum Replies Created

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/users/runthingsdev/replies/?output_format=md) 
[1](https://wordpress.org/support/users/runthingsdev/replies/?output_format=md) 
2

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Builder - Create highly converting, mobile friendly marketing popups.] problem with version 4.3.0 acces refused for site editors](https://wordpress.org/support/topic/problem-with-version-4-3-0-acces-refused-for-site-editors/)
 *  [runthings.dev](https://wordpress.org/support/users/runthingsdev/)
 * (@runthingsdev)
 * [2 years ago](https://wordpress.org/support/topic/problem-with-version-4-3-0-acces-refused-for-site-editors/#post-17752319)
 * 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:
 *     ```wp-block-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:
 *     ```wp-block-code
       define('WP_DEBUG', false);
       define('WP_DEBUG_LOG', false);
       define('WP_DEBUG_DISPLAY', false);
       ```
   
 * And that output the culprit:
 *     ```wp-block-code
       [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:
 *     ```wp-block-code
       // 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…

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/users/runthingsdev/replies/?output_format=md) 
[1](https://wordpress.org/support/users/runthingsdev/replies/?output_format=md) 
2