WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] [Plugin: Testimonials Widget] Warning: Missing argument 2 (8 posts)

  1. alewebsocial
    Member
    Posted 2 years ago #

    I have loaded the Testimonials Widget as a sidebar widget on a site, and created three testimonials that I want to cycle through.

    The widget displays the testimonials fine, but just above the sidebar heading "Testimonials," the following text is displayed:

    Warning: Missing argument 2 for standard_process_link_post_format_title() in /home/chery/public_html/wp-content/themes/standard/functions.php on line 2743

    I have no idea what this means, or how to fix it. Suggestions are welcome! :-)

    Regards,
    Tara

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. Michael Cannon
    Member
    Plugin Author

    Posted 2 years ago #

    Tara,

    Your error message is from your theme, not Testimonials Widget. Next, it's a warning and technically one you can ignore, but it does mean that something isn't right.

    The best way to fix this is to ask your theme developer to investigate. If you still need help, please contact me at http://typo3vagabond.com/contact-typo3vagabond/.

    Michael

  3. Michael Cannon
    Member
    Plugin Author

    Posted 2 years ago #

    Seems that a "the_title filter fix" was needed.

    Please try Release 0.2.12.

  4. alewebsocial
    Member
    Posted 2 years ago #

    Thanks, Michael! I appreciate the great support! The fix works like a charm. :-)

  5. jeremyers1
    Member
    Posted 1 year ago #

    I am having the same problem, but not with this plugin. The theme developer says that the second argument is there, so it is a problem with the other plugin that is not seeing or finding the second argument.

    Any further input on how this was fixed?

  6. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Is it a widget having the trouble? If so, my trouble was using the wrong filter. The correct looks like the following.

    $title = apply_filters( 'widget_title', $instance['title'], null );

  7. Tyler
    Member
    Posted 1 year ago #

    I was having this issue with the premium theme 'Standard' and fixed it by changing line 2769 of the functions.php theme file to:

    add_filter( 'the_title', $title, $id, 'standard_process_link_post_format_title', 10, 2 );

  8. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Tyler, Thank you for the tip. Was there anything further needed?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic