New error after updated to 2.3.33 - Message: Illegal length modifier specified 'f' in s[np]printf call

  • My site receives an error after the latest update (2.3.33). It seems to be related to areas where I have custom php files, but they were working prior to the latest update.


    Direct Link to error: https://www.antagonistguild.net/index.php/Points/?


    Error Locations in Application:

    • Main page/Points (Custom column using: Link)
    • Raid Import (custom import similar to everquest/who)


    Error Message in log files:

    08.07.2020 15:21:35 >>>> 20200708:f7beddb4db314edbdee0f4185673a090 <<<<

    Type: ERROR

    Message: Illegal length modifier specified 'f' in s[np]printf call

    Code: File: /public_html/core/file_handler/filehandler_php.php, Line: 125

    Trace:

    File: , Line: , Function: catch_fatals, Object: plus_debug_logger

    <<<<


    Line of Code (line 125 from filehandler_php.php):

    • $intBits = file_put_contents($filename, $data);


    Version Information:

    • FILE: 2.3.33.0, DB: 2.3.33.0
    • PHP Version: 7.3.19 Detailed PHP Information


    Thanks for all that you do, it is a great system!


    Raxdin

    Raxdin Dizden

  • GodMod

    Added the Label Not a Bug
  • We haven't changed anything there, and we are not using printf or anything like that. Therefore, the error message must be related to PHP.


    There have been the same report for Drupal (https://www.drupal.org/project/drupal/issues/3152749), but without a solution, so there is nothing I can do, as the code has no error.

    Viele Grüße,
    GodMod


    Bitte sendet mir keine unaufgeforderten Support-PNs. | Please don't send me unwanted support-PMs.
    Du willst dich bei mir bedanken: | You want to thank me:

    amazon_wishlist.jpg paypal_logo.jpg

  • Thanks for the reply sir. I will look to see if my hosting site has made any PHP updates and let you know my findings.

    Raxdin Dizden

  • I've isolated this down to a single cache file, which I believe this is related to the "point"/Score ("user_normal" layout). If anyone has an hints or ideas to point me in a new direction that would be great.


    Specific File with the issue:

    • ./data/cache/data/d/d0b9c5fd2bad2e95ebe8617b9c02716f.cf.php

    Trouble shooting steps:

    • I've removed my custom column
    • Added/removed adjustments
    • "Clear" and "Clean-Up" cache
    • Turned off the File Cache

    Raxdin Dizden

  • Most of the current bug reports in the internet are related to the PHP Version 7.3.19, therefore it is a problem of your hoster and/or the PHP Version.

    Viele Grüße,
    GodMod


    Bitte sendet mir keine unaufgeforderten Support-PNs. | Please don't send me unwanted support-PMs.
    Du willst dich bei mir bedanken: | You want to thank me:

    amazon_wishlist.jpg paypal_logo.jpg

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!