<b>Symptoms: </b>
Fatal error: Uncaught Error: Missing format specifier at end of string
<b>Questions: </b>
How can I resolve the fatal error related to the format specifier?
Why can't I find the /missing/ folder on my server?
Is there a specific step I need to follow to update the server to PHP 8.1 without encountering this error?
There might be a chance that you are not using the latest WPML and WooCommerce versions.
From what this error tells me, it seems that some information is missing from the WooCommerce plugin files (this plugin is separate from WPML so I don't think it is related to WPML).
Can you please paste your WPML Debug information in the Debug information field I activated below?
Well maybe you are right, but it works everything fine with PHP 7.4. But when I update the PHP to 8.1 this error is happens and then I deactivate the WPML with PHP 8.1 then page works again. So thats why I think is something with WPML, or any setting in WPML. Because the site works on both PHP version without WPML.
This is a dev site and pass. protected, if you need anything else let me know.
Additionally, both plugins are latest versions and in file class-wc-post-types.php is not done any change. If you need I can share a login informations or FTP/SFTP !
If nothing changes after activating that latest version, can you also try to manually create a folder under "wp-content/languages/wpml" called "missing" but leave it empty, and see if that resolves the issue?
Well here what I did,
Switched back to PHP 7.4 where everything works.
Downloaded the WPML String Translation add-on from your link, installed/activated, everything was fine working. Then switched back to PHP 8.1 the same error.
Then back to 7.4 added the "missing" folder at "wp-content/languages/wpml", and back to 8.1 and again the same error. Actually nothing helped.
I would like to request temporary access (wp-admin and FTP) to your site so I can better examine the issue. The needed fields are below the comment area. When you log in to leave your next reply, the information you enter is private, meaning only you and I can see and access it.
Our Debugging Procedures
I will check various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. In the event that we do need to debug the site further, I will duplicate it and work in a separate, local development environment to avoid affecting the live site.
- Please back up the site files and database before providing us access.
If you do not see the wp-admin/FTP fields, your post and website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.
The private box looks like this: hidden link
I will be waiting for your response.
The topic ‘[Closed] Fatal error: Uncaught Error: Missing format specifier at end of string in’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.