• Resolved diaz09

    (@diaz09)


    I have a warning message
    Warning: printf(): Too few arguments in /hermes/bosnaweb27a/b858/nf.femaorgmx/public_html/fema.org.mx/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-notices.php on line 494
    how can i solve
    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @diaz09,

    What version of the plugin you have installed on your site?
    Please make sure to update to the latest 2.0.39 version of the plugin.
    Do a quick conflict test so we can rule out conflicts with your theme or other plugins.
    Here is the doc on how to do a conflict test if you are not sure how to do it.

    Regards.

    Hi @diaz09 ,

    Were you able to solve this issiue?

    I have version 2.0.43 of the plugin and I keep getting this error.

    Hello, i have the same error: printf(): Too few arguments /ultimate-member/includes/admin/core/class-admin-notices.php line 494.

    ultimate member version is 2.0.46
    wordpress version is 5.2

    I can see this php error because i have create a personal error handler with set_error_handler(). Without personnal error handler, i have never see it before.

    Regards

    Replace text in line 494 of class-admin-notices.php:

    <?php printf( __( ‘Thanks for installing %s! We hope you like the plugin. To fund full-time development and support of the plugin we also sell extensions. If you subscribe to our mailing list we will send you a 20%% discount code for one of our access passes.’, ‘ultimate-member’ ), ultimatemember_plugin_name, ‘https://ultimatemember.com/pricing/&#8217; ); ?>
    `
    <strong>with:</strong>
    <?php printf( 'Thanks for installing' ); ?>

    this solve errors but not focus on exact error on long text abobe.

    Hi, i think it is good fix to don’t see the error, but when there is an ultimate member update, i will must do the fix again ^^.

    Thank you

    Same error here. The fix is nice, thanks @claual, but would be even better if implemented ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I have a warning message’ is closed to new replies.