• Hi,

    I am working on the rebrush of a website, and currently i am trying to find the perfect breadcrumb solution.

    Once I try to use the plugin Breadcrumb NavXT via wordpress backend and click “settings” on the plugin page, there is an error message appearing in the browser

    ValueError thrown
    Unknown format specifier “M”

    This is happening on https://neu.freirad.at/wp-admin/options-general.php?page=breadcrumb-navxt

    Does this sound like a known issue?

    Best regards and thank you in advance
    Markus

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author John Havlik

    (@mtekk)

    So, I’m assuming this is a PHP8 related error. Was there any additional information provided (file name/line numbers)? Right now PHP8 still isn’t marked stable on my Linux distribution of choice, so I have not migrated to it yet (just jumped through the hoops to install 8.0.5 on my testbed now). FYI, since it looks like you’re running PHP8, there is one other PHP8 compatibility issue with the current version of the REST controller. This has been fixed on the development branch for Breadcrumb NavXT 7.0 (targeting the release for before the end of this month).

    Thread Starter webmark487

    (@webmark487)

    Hi, thx for your reply.

    In this case, the only error message that I can see is (sourcecode):

    <h1>ValueError thrown</h1><p>Unknown format specifier “M”</p>

    At the moment I don’t have the error log available.

    I use this plugin also on another website, with PHP version 7.4.x

    There it works.

    Plugin Author John Havlik

    (@mtekk)

    Ok, really wish that it would have had line numbers as I’m really not sure what it’s upset with. Additionally, I’m having issues getting PHP8 installed (the package for my linux distro is broken and I haven’t had the time to fix it). This all said, I’m still going to look at this, it’s just taking longer than intended.

    • This reply was modified 3 years, 6 months ago by John Havlik.
    Plugin Author John Havlik

    (@mtekk)

    To follow up on this, I finally got PHP8 working on my testbed (had to move to PHP-FPM instead of mod_php). I’m not getting the error you’re seeing on your site running PHP8. For clarification, you get this error when simply visiting the Breadcrumb NavXT settings screen (not even changing a setting), correct? If so, just as a test, can you de-activate all other plugins you may have active and see if you get the same message (I’m wondering if there is some sort of interaction between another plugin that is happening)?

    Guten Tag,

    in meinem Fall gab es folgenden Fehler:
    —//—
    WordPress-Version 5.7.2
    Aktuelles Theme: YokoChildTheme (Version 1.0.4)
    Aktuelles Plugin: Breadcrumb NavXT (Version 6.6.0)
    PHP-Version 8.0.6

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 329 der Datei /www/htdocs/wXXXXXXX/wp-content/plugins/breadcrumb-navxt/class.bcn_admin.php verursacht. Fehlermeldung: Uncaught ValueError: Unknown format specifier “M” in /www/htdocs/wXXXXXXX/wp-content/plugins/breadcrumb-navxt/class.bcn_admin.php:329
    Stack trace:
    #0 /www/htdocs/wXXXXXXX/wp-content/plugins/breadcrumb-navxt/class.bcn_admin.php(329): sprintf(‘%Melde einen Bu…’, ‘`

    —//—

    Mit freundlichem Gru?

    Sven Soltmann

    Thread Starter webmark487

    (@webmark487)

    Hi,

    Regarding “For clarification, you get this error when simply visiting the Breadcrumb NavXT settings screen (not even changing a setting), correct?”
    > Yes

    To be honest, I now adapted the built-in breadcrumb functionality of the theme that I am using. This works quite well for my requirements. So I am not using this plugin for this project anymore.

    Nevertheless, thank you. And best regards
    Markus

    Plugin Author John Havlik

    (@mtekk)

    The problem seems to be a bad translated string in the German translation. I submitted a corrected translation, we’ll see when it get approved. I write the plugin in English, and also test it with Spanish strings (to ensure translation is working). Unfortunately, things in other languages may slip through (translation is a community effort).

    The short term work-around is to have the user’s language set to “English” while changing the Breadcrumb NavXT settings.

    • This reply was modified 3 years, 5 months ago by John Havlik.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error message when trying to configure the settings’ is closed to new replies.