Notifications
Clear all

wpForo 1.x.x ajax error on forum

3 Posts
2 Users
0 Likes
693 Views
kimia
Posts: 19
Topic starter
(@kimia)
Active Member
Joined: 3 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: 9966
Admin
(@robert)
Support Team
Joined: 7 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.

Reply
Robert
Posts: 9966
Admin
(@robert)
Support Team
Joined: 7 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/

Reply