Title: ArtZ91's Replies | WordPress.org

---

# ArtZ91

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] E_DEPRECATED rtrim() Passing null to parameter #1](https://wordpress.org/support/topic/e_deprecated-rtrim-passing-null-to-parameter-1/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [7 months ago](https://wordpress.org/support/topic/e_deprecated-rtrim-passing-null-to-parameter-1/#post-18681879)
 * Deprecation reproduced by request like:
   `curl -v --http1.1 "https://mysite.com//
   admin?mdrv=mysite.com"`
 * I think it’s because two slashes presents in request and nginx configuration 
   not handle this case correctly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] E_DEPRECATED rtrim() Passing null to parameter #1](https://wordpress.org/support/topic/e_deprecated-rtrim-passing-null-to-parameter-1/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [7 months ago](https://wordpress.org/support/topic/e_deprecated-rtrim-passing-null-to-parameter-1/#post-18679390)
 * [@hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/) I 
   found this:
   2025/10/** **:**:** [error] 3525965#3525965: *4224278 FastCGI sent
   in stderr: “PHP message: [E_DEPRECATED]: rtrim(): Passing null to parameter #
   1 ($string) of type string is deprecated in /var/www/mysite.com/html/wp-includes/
   formatting.php on line 2829” while reading response header from upstream, client:(
   some Netherlands IP-address), server: mysite.com, request: “GET //bxss.me HTTP/
   1.1”, upstream: “fastcgi://unix:/run/php/php8.3-fpm.sock:”, host: “mysite.com”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] rmdir: No such file or directory](https://wordpress.org/support/topic/rmdir-no-such-file-or-directory/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/rmdir-no-such-file-or-directory/#post-18585690)
 * I think it’s file permission issue, but it’s hard to explain what wrong.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] rmdir: No such file or directory](https://wordpress.org/support/topic/rmdir-no-such-file-or-directory/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/rmdir-no-such-file-or-directory/#post-18585667)
 * Maybe need wrap this code like that:
 *     ```wp-block-code
       if (is_dir($dir)) {    @rmdir($dir);}
       ```
   
 * Or temporarily disable error handler:
 *     ```wp-block-code
       $old_error_handler = set_error_handler(null);try {    if (is_dir($dir)) {        rmdir($dir);    }} finally {    // Restore error handler    set_error_handler($old_error_handler);}
       ```
   
    -  This reply was modified 9 months, 2 weeks ago by [ArtZ91](https://wordpress.org/support/users/artz91/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] rmdir: No such file or directory](https://wordpress.org/support/topic/rmdir-no-such-file-or-directory/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/rmdir-no-such-file-or-directory/#post-18585662)
 * I use PHP method `set_error_handler` to catch any errors and `set_exception_handler`
   to catch exceptions. I see that `@rmdir( $dir );` at 3269 cause E_WARNING with
   message `No such file or directory`, it’s strange, isn’t?
 * Need more detail code handling to know, what happening:
   — Maybe it’s really no
   directory and need to skip `rmdir` to avoid warning.— Maybe it’s some permission
   issue and need additional checks in code, idk.
 * That fact of using `@` operator looks strange, you trying to suppress error output,
   but the error still visible for `set_error_handler` and still logged in that 
   custom handler logic.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail Logging] Incorrect Headers format in modal row](https://wordpress.org/support/topic/incorrect-headers-format-in-modal-row/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/incorrect-headers-format-in-modal-row/#post-18550356)
 *     ```wp-block-code
       $headers = [];$headers[] = 'Reply-To: John Smith <john.smith@somesite.com>';$sent = wp_mail( $to, $subject, $message, $headers );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] unlink(): No such file or directory](https://wordpress.org/support/topic/unlink-no-such-file-or-directory-3/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/unlink-no-such-file-or-directory-3/#post-18478029)
 * I check the problem again on fresh WordPress installation with minimal custom
   theme.
   Error was catched by custom `set_error_handler` method added in `functions.
   php`
 * In `admin.php:1768` the `unlink` method silenced with `@` operator.
 * I think the problem that `@` operator only hide warning from being displayed,
   but it’s still be catched by `set_error_handler`
 * I use this code usually to detect deprecations or `_doing_it_wrong` WP notices.
 *     ```wp-block-code
       set_error_handler( function ( $errNo, $errStr, $errFile, $errLine ) {    $errorLevels = [        E_ERROR => 'E_ERROR',        E_WARNING => 'E_WARNING',        E_PARSE => 'E_PARSE',        E_NOTICE => 'E_NOTICE',        E_CORE_ERROR => 'E_CORE_ERROR',        E_CORE_WARNING => 'E_CORE_WARNING',        E_COMPILE_ERROR => 'E_COMPILE_ERROR',        E_COMPILE_WARNING => 'E_COMPILE_WARNING',        E_USER_ERROR => 'E_USER_ERROR',        E_USER_WARNING => 'E_USER_WARNING',        E_USER_NOTICE => 'E_USER_NOTICE',        E_STRICT => 'E_STRICT',        E_DEPRECATED => 'E_DEPRECATED',        E_USER_DEPRECATED => 'E_USER_DEPRECATED',        E_ALL => 'E_ALL',    ];    $errorLevel = $errorLevels[ $errNo ] ?? 'Unknown error';    $log = sprintf( "[%s]: %s in %s on line %d",        $errorLevel,        $errStr,        $errFile,        $errLine    );    error_log( $log );    $logExtended = in_array( $errNo, [        E_USER_NOTICE,        E_DEPRECATED,        E_USER_DEPRECATED,        E_WARNING,        E_ERROR     ] );     if ( $logExtended ) {        $log_ext = json_encode( [            'ERROR_LEVEL' => $errorLevel,            'HTTPS' => $_SERVER['HTTPS'] ?? 'OFF',            'HTTP_HOST' => $_SERVER['HTTP_HOST'] ?? 'NULL',            'HTTP_REFERER' => $_SERVER['HTTP_REFERER'] ?? 'NULL',            'HTTP_USER_AGENT' => $_SERVER['HTTP_USER_AGENT'] ?? 'NULL',            'IS_WP_CRON' => defined( 'DOING_CRON' ) && DOING_CRON,            'REMOTE_ADDR' => $_SERVER['REMOTE_ADDR'] ?? 'NULL',            'REQUEST_METHOD' => $_SERVER['REQUEST_METHOD'] ?? 'NULL',            'REQUEST_URI' => $_SERVER['REQUEST_URI'] ?? 'NULL',            'SCRIPT_FILENAME' => $_SERVER['SCRIPT_FILENAME'] ?? 'NULL',            'SERVER_NAME' => $_SERVER['SERVER_NAME'] ?? 'NULL',        ] );        $backtrace = print_r( debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS ), true );        error_log( $log_ext );        error_log( $backtrace );    }} );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Passing null to untrailingslashit in wp-security-process-renamed-login-page.php](https://wordpress.org/support/topic/passing-null-to-untrailingslashit-in-wp-security-process-renamed-login-page-php/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [1 year ago](https://wordpress.org/support/topic/passing-null-to-untrailingslashit-in-wp-security-process-renamed-login-page-php/#post-18430829)
 * It might be worth checking if this is related to core ticket 63316, because server
   path passed into untrailingslashit method in `wp-security-process-renamed-login-
   page.php:273`, and empty host it is objective in ticket 63316.
 * [https://core.trac.wordpress.org/ticket/63316](https://core.trac.wordpress.org/ticket/63316)
    -  This reply was modified 1 year ago by [ArtZ91](https://wordpress.org/support/users/artz91/).
    -  This reply was modified 1 year ago by [ArtZ91](https://wordpress.org/support/users/artz91/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Website Builder by SeedProd — Theme Builder, Landing Page Builder, Coming Soon Page, Maintenance Mode] After WordPress update your plugin forbid me to login](https://wordpress.org/support/topic/after-wordpress-update-your-plugin-forbid-me-to-login/)
 *  [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/after-wordpress-update-your-plugin-forbid-me-to-login/#post-17390542)
 * [@seedprod](https://wordpress.org/support/users/seedprod/), current version brokes
   wp_ajax_nopriv in some of admin_init action
    -  This reply was modified 2 years, 3 months ago by [ArtZ91](https://wordpress.org/support/users/artz91/).
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic] Admin bar button looks broken](https://wordpress.org/support/topic/admin-bar-button-looks-broken/)
 *  Thread Starter [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/admin-bar-button-looks-broken/#post-16034355)
 * [https://i2.paste.pics/89d9baa9e1d6308eb2a6337f9ba29357.png](https://i2.paste.pics/89d9baa9e1d6308eb2a6337f9ba29357.png)
 * Google Chrome 105, Windows 10
    -  This reply was modified 3 years, 7 months ago by [ArtZ91](https://wordpress.org/support/users/artz91/).
    -  This reply was modified 3 years, 7 months ago by [ArtZ91](https://wordpress.org/support/users/artz91/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Always Edit In HTML] Translation](https://wordpress.org/support/topic/translation-774/)
 *  [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/translation-774/#post-9714295)
 * Hi there, can you add translations for this plugin?

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