Title: Fred001's Replies | WordPress.org

---

# Fred001

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/fred001/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/fred001/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet - Newsletters, Email Marketing, and Automation] DatabaseEngineNotice.php Error](https://wordpress.org/support/topic/databaseenginenotice-php-error/)
 *  [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/databaseenginenotice-php-error/#post-17987762)
 * I have the same error…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Scan Stage Failed](https://wordpress.org/support/topic/scan-stage-failed-18/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/scan-stage-failed-18/#post-17370422)
 * Hi [@wfmark](https://wordpress.org/support/users/wfmark/) !
 * Thanks for your advices. I test disable plugins and theme and I found the problem.
   
   I use a child them with specific functions.php and it is this function which 
   generate error of wordfense scan :
 * Thank you for your advices. I tested disabling plugins and theme and found the
   problem.
   I’m using a child theme with specific functions.php and it’s this function
   that generates the wordfense scan error :
 *     ```wp-block-code
       /* Add Fred Hide the subscriber dashboard */
       add_action('admin_init', 'no_dashboard');
       function no_dashboard() {
       if (!current_user_can('manage_options') && $_SERVER['DOING_AJAX'] != '/wp-admin/admin-ajax.php') {
       wp_redirect(home_url()); exit; }
        }
       function my_function_admin_bar($content) {
       return ( current_user_can("administrator") ) ? $content : false;
       }
       add_filter( 'show_admin_bar' , 'my_function_admin_bar');
       ```
   
 * I changed like this* :
 *     ```wp-block-code
       /* Add Fred Hide the subscriber dashboard */
       function remove_subscriber_admin_bar() {
           $current_user = wp_get_current_user();
   
           if (count($current_user->roles) == 1 && $current_user->roles[0] == 'subscriber') {
               show_admin_bar(false);
           }
       }
   
       add_action('wp_loaded', 'remove_subscriber_admin_bar');
       // Redirect subscriber accounts from dashboard to homepage
       function redirect_subscriber_to_frontend() {
           $current_user = wp_get_current_user();
   
           if (count($current_user->roles) == 1 && $current_user->roles[0] == 'subscriber') {
               wp_redirect(site_url('/'));
               exit;
           }
       }
       add_action('admin_init', 'redirect_subscriber_to_frontend');
       ```
   
 * Source : [https://wordpress.org/support/topic/how-to-hide-the-dashboard-for-subscribers/](https://wordpress.org/support/topic/how-to-hide-the-dashboard-for-subscribers/)
 * All thanks and sorry for the loss of time
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Scan Stage Failed](https://wordpress.org/support/topic/scan-stage-failed-18/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/scan-stage-failed-18/#post-17356209)
 * A little up 🙂
 * Fred
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Scan Stage Failed](https://wordpress.org/support/topic/scan-stage-failed-18/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/scan-stage-failed-18/#post-17320039)
 * Thanks [@wfmark](https://wordpress.org/support/users/wfmark/). I sent you the
   report.
 * Fred
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Scan Stage Failed](https://wordpress.org/support/topic/scan-stage-failed-18/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/scan-stage-failed-18/#post-17275143)
 * Thanks [@wfmark](https://wordpress.org/support/users/wfmark/)
   Same issue with
   your advices.This is my new log :
 * [Dec 13 17:47:16:1702486036.674478:4:info] Scan process ended after forking.
   [
   Dec 13 17:47:15:1702486035.655390:4:info] Starting cron via proxy at URL [https://noc1.wordfence.com/scanp/mondomaine.org/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=standard&cronKey=7c452ea7a604d87ff6869799da388993&k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c5159ce9f9fa3dc4191803fa2f9acaccc750c9e613ed41c74a4e4abf154cffce634201&ssl=1&signature=485a58e7c11385e78da49549682f86769b4aa46fbfae820dfce4ae60347d4332](https://noc1.wordfence.com/scanp/mondomaine.org/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=standard&cronKey=7c452ea7a604d87ff6869799da388993&k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c5159ce9f9fa3dc4191803fa2f9acaccc750c9e613ed41c74a4e4abf154cffce634201&ssl=1&signature=485a58e7c11385e78da49549682f86769b4aa46fbfae820dfce4ae60347d4332)[
   Dec 13 17:47:15:1702486035.638166:4:info] getMaxExecutionTime() returning config
   value: 20[Dec 13 17:47:15:1702486035.630059:4:info] Got value from wf config 
   maxExecutionTime: 20[Dec 13 17:47:15:1702486035.588129:4:info] Entering start
   scan routine[Dec 13 17:47:15:1702486035.554172:4:info] Ajax request received 
   to start scan.[Dec 13 17:47:08:1702486028.430303:10:info] SUM_KILLED:A request
   was received to stop the previous scan.[Dec 13 17:47:08:1702486028.425873:1:info]
   Scan stop request received.[Dec 13 17:46:50:1702486010.941482:4:info] Calling
   Wordfence API v2.26:[https://noc1.wordfence.com/v2.26/?k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c5159ce9f9fa3dc4191803fa2f9acaccc750c9e613ed41c74a4e4abf154cffce634201&s=eyJ3cCI6IjYuNC4yIiwid2YiOiI3LjExLjAiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvZmFtaWxsZW1hdGh5LmZyIiwic3NsdiI6MjY5NDg4NTExLCJwdiI6IjguMS4yNiIsInB0IjoiZnBtLWZjZ2kiLCJjdiI6IjcuNzQuMCIsImNzIjoiT3BlblNTTFwvMS4xLjF3Iiwic3YiOiJBcGFjaGUiLCJkdiI6IjEwLjUuMjEtTWFyaWFEQi0wK2RlYjExdTEiLCJsYW5nIjoiZnJfRlIifQ&action=timestamp](https://noc1.wordfence.com/v2.26/?k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c5159ce9f9fa3dc4191803fa2f9acaccc750c9e613ed41c74a4e4abf154cffce634201&s=eyJ3cCI6IjYuNC4yIiwid2YiOiI3LjExLjAiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvZmFtaWxsZW1hdGh5LmZyIiwic3NsdiI6MjY5NDg4NTExLCJwdiI6IjguMS4yNiIsInB0IjoiZnBtLWZjZ2kiLCJjdiI6IjcuNzQuMCIsImNzIjoiT3BlblNTTFwvMS4xLjF3Iiwic3YiOiJBcGFjaGUiLCJkdiI6IjEwLjUuMjEtTWFyaWFEQi0wK2RlYjExdTEiLCJsYW5nIjoiZnJfRlIifQ&action=timestamp)[
   Dec 13 17:43:44:1702485824.852021:2:info] Attempting to resume scan stage (0 
   attempt(s) remaining)…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Fatal error for the first activation](https://wordpress.org/support/topic/fatal-error-for-the-first-activation/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-for-the-first-activation/#post-17262273)
 * Sorry, all thanks, it’s ok for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Scan Stage Failed](https://wordpress.org/support/topic/scan-stage-failed-18/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/scan-stage-failed-18/#post-17252218)
 * Hi [@wfmark](https://wordpress.org/support/users/wfmark/),
 * I am not using Cloudflare.
   My log is :[Dec 04 22:35:25] Entering start scan routine[
   Dec 04 22:35:25] Got value from wf config maxExecutionTime: 0[Dec 04 22:35:25]
   Got max_execution_time value from ini: 500[Dec 04 22:35:25] ini value of 500 
   is higher than value for WORDFENCE_SCAN_MAX_INI_EXECUTION_TIME (90), reducing[
   Dec 04 22:35:25] getMaxExecutionTime() returning half ini value: 45[Dec 04 22:
   35:25] Starting cron via proxy at URL [https://noc1.wordfence.com/scanp/mondomain.com/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=standard&cronKey=ecb6273ec71df4f7749bad37f0686f42&k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c](https://noc1.wordfence.com/scanp/mondomain.com/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=standard&cronKey=ecb6273ec71df4f7749bad37f0686f42&k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c)[
   Dec 04 22:35:26] Scan process ended after forking.[Dec 04 22:35:27] Calling Wordfence
   API v2.26:[https://noc1.wordfence.com/v2.26/?k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c5159ce9f9fa3dc4191803fa2f9acaccc750c9e613ed41c74a4e4abf154cffce634201](https://noc1.wordfence.com/v2.26/?k=42cd1d18e82b4bf3f34bcd4eccf97b09a9ecde3cd9339a6c4d5e90f2b3c5159ce9f9fa3dc4191803fa2f9acaccc750c9e613ed41c74a4e4abf154cffce634201)[
   Dec 04 22:35:37] Ajax request received to start scan.[Dec 04 22:35:37] Entering
   start scan routine
 * Thanks
   Fred
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Fatal error for the first activation](https://wordpress.org/support/topic/fatal-error-for-the-first-activation/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-for-the-first-activation/#post-17247510)
 * Thanks ! I don’t know how to check my roles. All seems ok in wp-admin (1 admin
   and 14 subscribers). 
   Should I go and check something in the wp-user tables ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Classic Editor] Can’t edit posts](https://wordpress.org/support/topic/cant-edit-posts-15/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/cant-edit-posts-15/#post-16326181)
 * The problem seems to be with php_version: 8.1.13.
   I change with php 7.4 and all
   is ok.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Classic Editor] Can’t edit posts](https://wordpress.org/support/topic/cant-edit-posts-15/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/cant-edit-posts-15/#post-16321237)
 * Hi, 
   I try with :
    - Twenty Twenty Three theme
    - Only Classic editor plugin active
    - Everything up to date
 * but I have still the same problem : [https://ibb.co/Jm4MQY5](https://ibb.co/Jm4MQY5)
 * No JavaScript error : Cette page utilise la propriété non standard « zoom ». 
   Envisagez d’utiliser calc() dans les valeurs des propriétés pertinentes ou utilisez«
   transform » avec « transform-origin: 0 0 ». [post-new.php](https://famillemathy.fr/wp-admin/post-new.php)
   
   JQMIGRATE: Migrate is installed with logging active, version 3.3.2
 * With my theme and plugins, I have one error :
 * Cette page utilise la propriété non standard « zoom ». Envisagez d’utiliser calc()
   dans les valeurs des propriétés pertinentes ou utilisez « transform » avec « 
   transform-origin: 0 0 ». post-new.php
   jQuery.Deferred exception: wp.media.view.
   MediaFrame is undefined initFolders@https://example.org/wp-content/plugins/responsive-
   lightbox/js/admin-folders.js?ver=2.4.3:14:37[@https](https://wordpress.org/support/users/https/)://
   example.org/wp-content/plugins/responsive-lightbox/js/admin-folders.js?ver=2.4.3:
   206:4mightThrow@https://example.org/wp-includes/js/jquery/jquery.js?ver=3.6.1:
   3766:29Deferred/then/resolve/Deferred/then/resolve/<@https://example.org/wp-includes/
   js/jquery/jquery.js?ver=3.6.1:3872:16 fire@https://example.org/wp-includes/js/
   jquery/jquery.js?ver=3.6.1:3500:31 fireWith@https://example.org/wp-includes/js/
   jquery/jquery.js?ver=3.6.1:3630:7 fire@https://example.org/wp-includes/js/jquery/
   jquery.js?ver=3.6.1:3638:10 fire@https://example.org/wp-includes/js/jquery/jquery.
   js?ver=3.6.1:3500:31 fireWith@https://example.org/wp-includes/js/jquery/jquery.
   js?ver=3.6.1:3630:7 ready@https://example.org/wp-includes/js/jquery/jquery.js?
   ver=3.6.1:4110:13 completed@https://example.org/wp-includes/js/jquery/jquery.
   js?ver=3.6.1:4120:9 EventListener.handleEvent@https://example.org/wp-includes/
   js/jquery/jquery.js?ver=3.6.1:4136:11 [@https](https://wordpress.org/support/users/https/)://
   example.org/wp-includes/js/jquery/jquery.js?ver=3.6.1:36:10 [@https](https://wordpress.org/support/users/https/)://
   example.org/wp-includes/js/jquery/jquery.js?ver=3.6.1:40:4 undefined jquery.js:
   4050:18 JQMIGRATE: jQuery.fn.click() event shorthand is deprecated jquery-migrate.
   js:100:12 JQMIGRATE: jQuery(window).on(‘load’…) called after load event occurred
   jquery-migrate.js:100:12 JQMIGRATE: jQuery.fn.blur() event shorthand is deprecated
   jquery-migrate.js:100:12 JQMIGRATE: jQuery.fn.keydown() event shorthand is deprecated
   jquery-migrate.js:100:12 Uncaught TypeError: wp.media.view.MediaFrame is undefined
   initFolders [https://example.org/wp-content/plugins/responsive-lightbox/js/admin-folders.js?ver=2.4.3:14](https://example.org/wp-content/plugins/responsive-lightbox/js/admin-folders.js?ver=2.4.3:14)
   [https://example.org/wp-content/plugins/responsive-lightbox/js/admin-folders.js?ver=2.4.3:206](https://example.org/wp-content/plugins/responsive-lightbox/js/admin-folders.js?ver=2.4.3:206)
   jQuery 13
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Lightbox & Gallery] Break the site since WP 5.6](https://wordpress.org/support/topic/break-the-site-since-wp-5-6/)
 *  [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/break-the-site-since-wp-5-6/page/2/#post-13772734)
 * Same issue. Waiting fix. All thanks !
 * Fred
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet Newsletters (Previous)] Activation](https://wordpress.org/support/topic/activation-18/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/activation-18/#post-8507834)
 * Hi,
 * Since update MH Magazine lite Version : 2.5.5, the problem is solved.
 * All thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet Newsletters (Previous)] Delete sent newsletters](https://wordpress.org/support/topic/delete-sent-newsletters/)
 *  [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/delete-sent-newsletters/#post-6863034)
 * I have the same question.
    All thanks.
 * Fred
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AWP Classifieds] Image too large](https://wordpress.org/support/topic/image-too-large-1/)
 *  Thread Starter [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/image-too-large-1/#post-6704312)
 * I don’t know how to reset this post.
    Sorry
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Image Sizes] Regenerate only featured images](https://wordpress.org/support/topic/regenerate-only-featured-images/)
 *  [Fred001](https://wordpress.org/support/users/fred001/)
 * (@fred001)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/regenerate-only-featured-images/#post-6325994)
 * I want also regenerate thumbnails only for featured post images.
    Do you find
   a solution ?
 * Fred

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

1 [2](https://wordpress.org/support/users/fred001/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/fred001/replies/page/2/?output_format=md)