Forum Scope


Forum Options

Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
Template Tags - Disappearing page content
Jonathan Yee

7 Posts
Sep 16, 2021 - 7:39 pm

I have recently updated SimplePress to 6.6.3 and am running into an issue where adding shortcode is causing my Elementor page content to not appear in the DOM. I am using the sp_newest_topics shortcode within an Elementor shortcode. Deactivating the SimplePress plugin brings back the page content. 

Separately, I also get an error when trying to edit the page within Elementor as follows:

PHP Fatal error: Uncaught Error: Call to undefined function sp_abort_display_forum() in /mnt/efs/sp-resources/forum-plugins/template-tags/library/sp-NewestTopics-tag.php:79

Adding the following code into my theme’s functions.php allows me to access the Elementor page editor:

if (!function_exists(‘sp_abort_display_forum’)) {
  function sp_abort_display_forum() {


Any ideas? The first issue has higher priority. 

Here and Now

629 Posts
Oct 14, 2021 - 11:21 am

Any feedback on this?

I’ve encountered the same error, only when trying to load the Widgets tab of the dashboard:

Error thrown

Call to undefined function sp_abort_display_forum()

The error goes away and widgets admin loads properly when Template Tags SP plugin is deactivated. Will start new topic with more details…just wanted to search first, and found this related topic.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Jonathan Yee

7 Posts
Feb 11, 2022 - 7:41 pm

I actually revisited this issue and noticed in the latest version of the template tags plugin, an include was added to a similar file (sp-HotTopics-tag.php) solving the problem for another tag. 

Adding this line of code in the tag function before sp_abort_display_forum() like so fixes the issue for me: 

function sp_do_sp_[InsertAffectedTag]_tag($args=”) {
  require_once SPBOOT.’site/sp-site-support-functions.php’;
  if (sp_abort_display_forum()) return;

I believe this may be a bug and should be applied to all template tag functions in an update for the template tags plugin. Currently it’s only applied to the one in sp-HotTopics-tag.php. 

Forum Timezone: America/New_York
All RSS Show Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 629
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
Andy Cenoz
Kundan Dheevar
Wally Harvey
n1 n2
James Schwinn
Jaroslaw Balczewski
Lu Hunter
Jocelyne McGeever
Matthew Wolze
Forum Stats:
Groups: 7
Forums: 17
Topics: 10053
Posts: 79333


Member Stats:
Guest Posters: 606
Members: 16890
Moderators: 0
Admins: 3

Most Users Ever Online
Currently Online
Jocelyne McGeever
Currently Browsing this Page

1 Guest(s)