Notifications
Clear all

wpForo 1.x.x [Closed] ajax error on forum

3 Posts
2 Users
0 Reactions
1,104 Views
Posts: 19
Topic starter
(@kimia)
Eminent Member
Joined: 5 years ago

hi, no buttons work on my forum, in my console there iare 2 errors in js files, i faced following errors:

ReferenceError: wpforo is not defined  ->  https://easylife.ir/wp-content/plugins/wpforo/wpf-assets/js/ajax.js?ver=1.7.2 :2

ReferenceError: wpforo is not defined  ->  https://easylife.ir/wp-content/plugins/wpforo/wpf-assets/js/frontend.js?ver=1.7.2 :427

how can i fix it????????

please help me!

 

 

2 Replies
Robert
Posts: 10586
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @kimia,

Please don't use multiple question marks, that's not friendly.

This is your WordPress theme issue. It seems you've customized the theme and removed the main functions which load plugins JS files. For example, the <?php wp_footer() ?> function of the theme footer.php file is removed or missing.

This also can be a cache plugin conflict. Make sure all your caches are deleted and the CDN is reset.

Robert
Posts: 10586
Admin
(@robert)
Support Team
Joined: 9 years ago

@robert,

I see you use W3 Total Cache,

I'd recommend delete all caches of this plugin and temporary disable it. Then check wpForo again. If the problem is fixed you should change the plugin or keep it but exclude wpForo page. In any case you should exclude your forum home page from any cache plugins. Please read this FAQ topic: https://wpforo.com/community/faq/wpforo-and-cache-plugins/