Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

If you Like the Asteria Lite Theme and want to Keep it free forever Please Rate it on Wordpress.org (It only takes a few seconds)
Viewing 5 posts - 1 through 5 (of 5 total)

Warning: printf() [function.printf]: Too few arguments

Home Forums Free Theme Support Asteria Lite Warning: printf() [function.printf]: Too few arguments

  • #91383

    Aldo

    I currently have this error.
    Warning: printf() [function.printf]: Too few arguments in /home/aldofrn115/domains/joliendegendt.be/public_html/_preview/wp-content/themes/asteria-lite/functions.php on line 195

    This is the code on functions.php
    <a class="comm_date"><i class="icon-time"></i><?php printf(get_comment_date()) ?></a>

    The cause:

    Solution?

    #91465

    Towfiq I.

    administrator

    this is only a warning actually. you can igonre this. its not causing any problem anywhere in your site.

    you can change the line with this if you want:

    a class="comm_date"><i class="icon-time"></i><?php echo get_comment_date(); ?></a>

    #91626

    Aldo

    I’ve tried this solution but it showed me an fatal error.
    It would probably be something else that’s causing the problem.
    I will reinstall the website 🙂

    Warning: require_once(redux/framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/aldofrn115/domains/joliendegendt.be/public_html/_preview/wp-content/themes/asteria-lite-child/functions.php on line 467
    
    Fatal error: require_once() [function.require]: Failed opening required 'redux/framework.php' (include_path='.:/usr/local/lib/php') in /home/aldofrn115/domains/joliendegendt.be/public_html/_preview/wp-content/themes/asteria-lite-child/functions.php on line 467
    #91945

    Towfiq I.

    administrator

    please copy the “redux” folder inside your child theme folder.

    #94120

    Aldo

    Didn’t work.

    I copied the “redux” folder, then it needed “asteria-config.php”, so i pasted that in the child theme folder.
    And now I’m using the main theme, but still got the same error.

    If i deactivate qTranslate then the error is gone.

    Ok, switched back to mqTranslate. It’s using the same short-codes, and it doesn’t shows an error…

    Pfff, multilingual isn’t supported a lot in WordPress, back to drupal..

You must be logged in to reply to this topic.