Notifications
Clear all

wpForo 1.x.x [Closed] Frontend assets will not load on the main forums page

1 Posts
1 Users
0 Reactions
474 Views
Posts: 1
Topic starter
(@harty83)
New Member
Joined: 4 years ago

I've run into a problem that I can't figure out the "why." The website was built on local and migrated to live. Everything works with the exception that the frontend JS assets are not loaded when visiting the main Forums page so the Add Topic button does nothing, etc. The frontend JS assets load on other pages such as members, recent posts, etc. However, if I edit ./wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php line 1299 from

wp_register_script( 'wpforo-frontend-js', WPFORO_URL . '/wpf-assets/js/frontend.js', array('jquery', 'wpforo-dynamic-phra     ses'), WPFORO_VERSION, true );

 to 

wp_register_script( 'wpforo-frontend-js', WPFORO_URL . '/wpf-assets/js/frontend.js', array('jquery', 'wpforo-dynamic-phra     ses'), WPFORO_VERSION, false );

the assets load fine in the head tag. Again, they only don't load on the Forums page but they do for all others unless I make the above edit then they load for them all. I can't figure out why that is. We've tried uninstalling and reinstalling the forum plugin and encounter the same issue. No other page seems to have any issues. We've tried disabling all plugins with the same results. 

Any hints? 

 

Thanks!

Alan