Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Add Topic Not Working
Avatar
Eric Tetreault
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2019 - 3:29 pm

I just installed Simplepress and establish forums with permissions. No forum currently as a topic and when I click the ADD TOPIC button, nothing happens. 

  • This has never worked.
  • I tried removing all permissions on the forums and adding them back. 
  • I tried Toolbox > Housekeeping > Reset Auths Cache and that did not help.
Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Apr 9, 2019 - 3:37 pm

When a button or link doesn't work the most common reason is because there is a Javascript error being thrown (usually because of a conflict) or a php error on the backend (for a similar reason).

To start with, can you check your browser console to see if there are any javascript errors being shown?

Then, check the WordPress debug.log file (after turning on WordPress debug flags) and see if there are any new errors in there after you try to add a topic.

Thanks.

Avatar
Eric Tetreault
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2019 - 3:59 pm

 

Here is what I am getting in my error log.

[09-Apr-2019 19:54:02 UTC] PHP Warning:  include(/home/xr3788q2cge2/public_html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/xr3788q2cge2/public_html/wp-settings.php on line 84
[09-Apr-2019 19:54:02 UTC] PHP Warning:  include(): Failed opening '/home/xr3788q2cge2/public_html/wp-content/advanced-cache.php' for inclusion (include_path='.:/opt/alt/php71/usr/share/pear') in /home/xr3788q2cge2/public_html/wp-settings.php on line 84
Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Apr 9, 2019 - 4:04 pm

None of those are SP specific but it would be worth it to get those resolved just in case they are interfering with SP functions.

Also, you might just want to post your SP, WP and PHP versions into this thread.

You didn't see any Javascript errors in the browser console?

Avatar
Eric Tetreault
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2019 - 4:13 pm

Thanks for your help. Here is my install info:

Simple:Press   Version: 6.0.7
Build: 15857
Release: Release
WordPress   Version: 5.1.1
Language: en-US
Character Set: UTF-8
Theme: Avada
PHP   Version: 7.1.18
Memory: 128M
Max Upload: 32M
Timeout: 300
MySQL   Version: 5.6.39
Server   Version: Apache
Avatar
Eric Tetreault
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2019 - 4:17 pm

Javascript console has this:

Uncaught Error: `selector` option must be specified when initializing tooltip on the window.document object!
at k.init (bootstrap.tooltip.js?ver=3.3.5:1)
at new k (bootstrap.tooltip.js?ver=3.3.5:1)
at HTMLDocument.<anonymous> (bootstrap.tooltip.js?ver=3.3.5:1)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at a.fn.init.d [as tooltip] (bootstrap.tooltip.js?ver=3.3.5:1)
at setupTooltips (eval at <anonymous> (sp-forum-footer.min.js?ver=5.1.1:1), <anonymous>:1:410)
at HTMLDocument.eval (eval at <anonymous> (sp-forum-footer.min.js?ver=5.1.1:1), <anonymous>:1:57)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)

Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Apr 9, 2019 - 4:17 pm

The Avada theme can sometimes do funky thinks with javascript.  One thing to try might be to temporarily disable the Avada theme and use the wp core 2019 theme, flush all your caches and then see if the ADD TOPIC button works.

Avatar
Eric Tetreault
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2019 - 4:22 pm

Unfortunately it is still happening. 

Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Apr 9, 2019 - 4:23 pm

You switched out the theme to use the WP 2019 theme and you're still seeing the same Javascript error?

Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Apr 9, 2019 - 4:24 pm

If that's the case, then chances are another plugin is likely the source of the conflict.  Unfortunately, to identify that, you need to go through the process of disabling them one at a time until the Javascript error disappears.  The last one that was disabled is likely the source of the conflict.  Its a PITA but its the only way to figure out which one it is.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10118
Posts: 79603