Argument number must be greater than zero
-
Hello there,
need help with this.
Debug log file notice:
04-May-2022 16:17:12 UTC] PHP Fatal error: Uncaught ValueError: Argument number must be greater than zero in /var/www/html/mrpet/wp-admin/admin-header.php:62
Stack trace:
#0 /var/www/html/mrpet/wp-admin/admin-header.php(62): sprintf()
#1 /var/www/html/mrpet/wp-admin/edit-form-advanced.php(425): require_once(‘…’)
#2 /var/www/html/mrpet/wp-admin/post.php(206): require(‘…’)
#3 {main}
thrown in /var/www/html/mrpet/wp-admin/admin-header.php on line 62Can not edit anything: orders, posts, pages,… Even plugin settings.
Happened after WP update, Woo update and theme update.
Web site: mrpet.rs
WP: 5.9.3
Woocomerce: 6.4.1Will be very grateful for help.
-
Hello, I’m sorry to hear that you have trouble with your website. However, your site is not hosted with WordPress.com. It is a site using the open-source WordPress software (from WordPress.org) but hosted elsewhere.
To clear up any confusion, WordPress.com and WordPress.org are two different entities: https://wordpress.com/support/com-vs-org/
WordPress.org has complete documentation for self-hosted/installed versions of WordPress.org at https://wordpress.org/support/ and support at https://wordpress.org/support/forums/
With that said, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).
Once you’ve identified the plugin or theme causing the problem, you can reach out to its support to report the issue.
-
- The topic ‘Argument number must be greater than zero’ is closed to new replies.