Support » Theme: Equable Lite » an indication “too few aruguments ” on top page

  • Resolved heartbeatreloadedjp

    (@heartbeatreloadedjp)



    After uploading my first post, an error message have appeared on the top page saying “WARNING: SPRINTF(): TOO FEW ARGUMENTS IN /HOME/JECRISTONNOM/JECRISTONNOM.MINIBIRD.JP/PUBLIC_HTML/WP-RELEASEMEYET/WP-CONTENT/THEMES/EQUABLE-LITE/INC/TEMPLATE-TAGS.PHP ON LINE 26”
    and I am sure not to make any change to the codes. AAlso I have check the line properly but could not tell what matters. Your kind attention would be highle appreciated.

    rgds,

    ssm

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Theme Author bloggingthemes

    (@bloggingthemes)

    I will take a look at the file in question and see what is happening and if it needs fixing, I will do that right away. Back in a few minutes.

    Cheers,
    Andre

    Thank you Andre, I really love the theme and keep my blog on it! I remain. ssm

    Theme Author bloggingthemes

    (@bloggingthemes)

    Thank you for the theme comment 🙂
    OK, I just opened my theme on my local test site and as weird as this is, I do not get that error or had anyone else bring this issue up. However, that doesn’t mean that there is no problem because this is happening to you.

    I have a possible fix for you (and others) if you would like to try something before I upload an update to the theme….would you be interested in making an edit to some code in that file? I will give you some step-by-step instructions.

    I would be garteful to get your instructions and make change to the source on my side with reports for you afterword. thks & rgrds, ssm

    In addition, I just remember that I added the Japanese web font kit and script on CSS file accordingly. ssm

    Theme Author bloggingthemes

    (@bloggingthemes)

    We will edit the template-tags.php file. Normally you would not edit a theme file directly like this, but if this works, this will be in the theme update.

    1. From the admin area left menu column, Go to Appearance >> Theme Editor

    2. In the theme editor, off to the right click on the “inc” folder and then click on the file “template-tags.php”

    3. On line 29, you should see this:

    echo '<span class="posted-on">' . $posted_on . '</span>'; // WPCS: XSS OK.

    What I want you to do is replace $posted_on with $time_string so that the above line of code now looks like this:

    echo '<span class="posted-on">' . $time_string. '</span>'; // WPCS: XSS OK.

    4. Then click “Save”

    Now check your website and see if that error disappears. If it does, then we can fix the other one that is in the same file. The other instance of this adds the date to the full post view (which I noticed on your post). To fix this one as well, you will do the same thing as above but this time to line 61

    echo '<span class="posted-on">' . $posted_on . '</span><span class="byline">' . $byline . '</span>'; // WPCS: XSS OK.

    Again, replace the $posted_on with $time_string

    ….then click save.

    If this works for you, then I will upload an official update to this theme right away.

    Thanks, I will be right back after checking the procedure.

    I’ve changed line29 accordingly but the error still on indication. Another modification is still held.

    May I take another adds to line 61? thks

    Theme Author bloggingthemes

    (@bloggingthemes)

    The live demo site is using version 1.0.8 of Equable Lite…does the error show up for you there?

    http://demos.bloggingthemestyles.com/equable-lite/

    The code I had you change is still the original code for the demo (un-changed) but I still don’t get the error show up.

    And just to confirm, the change you made to the template.tags.php file is still intact?

    Hi. A page on the link to live demo appears without fault. I am sure to replace “$posted_on” by “$time_string” on line 29 and 61 and save the changes in the template.tags.php file but still found the error message. I’ll take maintenance mode on the site to try further instruction from you, may I? Thanks.

    Theme Author bloggingthemes

    (@bloggingthemes)

    There is a couple things with that file I can update…so what I will do is change those items and upload an update in a few minutes. Watch for version 1.0.9 of this theme.

    Theme Author bloggingthemes

    (@bloggingthemes)

    I just uploaded version 1.0.9….let’s see if that helps.

    – Andre

    Yes! You made it. After updating it, the theme shows any flow and all is well. Thank you for your perfect cooperations, I appreciate it. rgrds, ssm

    Theme Author bloggingthemes

    (@bloggingthemes)

    Ah, great to hear 🙂
    I was planning on following up today, but you already posted here that everything is OK. I’m assuming we can set this topic as “Resolved”?

    Cheers,
    Andre

Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.