Support Forum

Fatal error while using "Recent Posts Widget"

LH Lee H
Lee H
Member

Fatal error: Call to undefined function sp_get_last_post_in_topic() in /problem-with-post-edit-buttonome/leeh/public_html/wp-content/forum-plugins/template-tags/library/sp-recent-posts-tag.php on line 77

sp_get_last_post_in_topic() is defined in plugins/template-tags/library/SP-TEMP-TT-SUPPORT.php, but grepping the code I can’t see where SP-TEMP-TT-SUPPORT.php is included anywhere.

Grepping the code shows sp_get_last_post_in_topic() used in many places so I’m sure other things are busted as well.

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

probably need a big warning somewhere…  None of the template tags and widgets have been updated and tested for 5.0 yet… so yeah, unfortunately, not a surprise…

that particular error looks like a syntax error in the use of a define statement…

but we already have a ticket open on the widgets/tags and will get to them soon – certainly before we go to beta…

sorry for not having posted that somewhere…

YS Yellow Swordfish
Yellow Swordfish
Member

They are always one of the last things as they rely heavily on core routines.