Notifications
Clear all

wpForo 1.x.x [Solved] Wordpress Mutisite There has been a critical error on this website.

10 Posts
3 Users
1 Reactions
2,009 Views
Posts: 27
Topic starter
(@blade)
Eminent Member
Joined: 3 years ago

Hello.

I have wordpress mutisite subdirectory and I have installed wpforo.

Main site is avanzatel.com/community Forum is working correctly

On site avanzatel.com/es/community it does not work correctly = There has been a critical error on this website.

When I open pages/forum/edit page = There has been a critical error on this

Forums/Forums/Categories and forums/new I make a forum but when publish its not there

Any ideas?

I uninstalled and reinstalled still the same

 

 

9 Replies
Posts: 27
Topic starter
(@blade)
Eminent Member
Joined: 3 years ago

Up date.

If you goto https://avanzatel.com/es/community/ its not working but if you click members that page seem to be working so its just the main page and not beable to add more forums.

I made sure network activate was disabled and installed wpforo for each site, still not working

dimalifragis
Posts: 2611
(@dimalifragis)
Famed Member
Joined: 5 years ago

This is probably some conflict between plugins or some fatal error.

Enable Standard Wordpres Debug to a LOG, view the issue in the log and post it here.

1 Reply
(@blade)
Joined: 3 years ago

Eminent Member
Posts: 27

@dimalifragis 

Hi.

I deactivated all pluggings and installed wpforo again with other plugins deactivated.

Still the same problem. I think i have managed to get the debug log, but i dont understand.

Thank you.

[27-Oct-2021 08:32:43 UTC] PHP Warning: Undefined array key "product_category" in /home/h6ucrggxa5r6/public_html/wp-content/plugins/jet-menu/includes/modules/jet-dashboard/inc/license-manager.php on line 335
[27-Oct-2021 08:32:43 UTC] PHP Warning: foreach() argument must be of type array|object, bool given in /home/h6ucrggxa5r6/public_html/wp-cron.php on line 117
[27-Oct-2021 08:33:02 UTC] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/functions.php:843
Stack trace:
#0 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/functions.php(843): fclose()
#1 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/class-cache.php(152): wpforo_write_file()
#2 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/class-cache.php(141): wpForoCache->create_files()
#3 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/functions-template.php(1335): wpForoCache->create()
#4 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/class-forums.php(1059): wpforo_forum()
#5 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/class-template.php(2682): wpForoForum->get_layout()
#6 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/functions-template.php(2593): wpForoTemplate->add_topic_button()
#7 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-themes/classic/layouts/4/forum.php(44): wpforo_template_add_topic_button()
#8 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-themes/classic/forum.php(41): include('/home/h6ucrggxa...')
#9 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/functions-template.php(2860): include('/home/h6ucrggxa...')
#10 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-themes/classic/index.php(31): wpforo_template()
#11 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php(193): include('/home/h6ucrggxa...')
#12 /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php(212): wpforo_init_template()
#13 /home/h6ucrggxa5r6/public_html/wp-includes/shortcodes.php(356): wpforo_load()
#14 [internal function]: do_shortcode_tag()
#15 /home/h6ucrggxa5r6/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
#16 /home/h6ucrggxa5r6/public_html/wp-includes/class-wp-hook.php(303): do_shortcode()
#17 /home/h6ucrggxa5r6/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#18 /home/h6ucrggxa5r6/public_html/wp-includes/post-template.php(253): apply_filters()
#19 /home/h6ucrggxa5r6/public_html/wp-content/themes/hello-elementor/template-parts/single.php(24): the_content()
#20 /home/h6ucrggxa5r6/public_html/wp-includes/template.php(772): require('/home/h6ucrggxa...')
#21 /home/h6ucrggxa5r6/public_html/wp-includes/template.php(716): load_template()
#22 /home/h6ucrggxa5r6/public_html/wp-includes/general-template.php(204): locate_template()
#23 /home/h6ucrggxa5r6/public_html/wp-content/themes/hello-elementor/index.php(21): get_template_part()
#24 /home/h6ucrggxa5r6/public_html/wp-includes/template-loader.php(106): include('/home/h6ucrggxa...')
#25 /home/h6ucrggxa5r6/public_html/wp-blog-header.php(19): require_once('/home/h6ucrggxa...')
#26 /home/h6ucrggxa5r6/public_html/index.php(17): require('/home/h6ucrggxa...')
#27 {main}
thrown in /home/h6ucrggxa5r6/public_html/wp-content/plugins/wpforo/wpf-includes/functions.php on line 843
[27-Oct-2021 08:33:12 UTC] PHP Warning: foreach() argument must be of type array|object, bool given in /home/h6ucrggxa5r6/public_html/wp-cron.php on line 117
[27-Oct-2021 08:34:44 UTC] PHP Warning: Undefined array key "product_category" in /home/h6ucrggxa5r6/public_html/wp-content/plugins/jet-menu/includes/modules/jet-dashboard/inc/license-manager.php on line 335
[27-Oct-2021 08:34:44 UTC] PHP Warning: foreach() argument must be of type array|object, bool given in /home/h6ucrggxa5r6/public_html/wp-cron.php on line 117

 

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

@blade,

Posted by: @blade

If you goto https://avanzatel.com/es/community/ its not working but if you click members that page seem to be working so its just the main page and not beable to add more forums.

Can you explain why you have /es/ prefix before the forum base URL? What is it? Is this a parent page? Please make sure the forum page is not set as child to some page. wpForo only works if its page is a parent page and there should not be any prefix paths.

1 Reply
(@blade)
Joined: 3 years ago

Eminent Member
Posts: 27

@robert  @Chris

Maybe I am doing something wrong or did not explain very well.

I have multisite wordpress, with subdirectories.

Main site avanzatel.com = English

Site avanzatel.com/es = Spanish

WpForo default setup is in pictures below. Will this not work? I thought wpforo worked with multisite or am i setting it up wrong. I thought avanzatel.com and avanzatel.com/es will work for wpforo?

I have not changed anything when installed this is the default installation of Wpforo

What I am thinking is an english forum for avanzatel.com and a spanish forum for avanzatel.com/es will this not work? will I only be able to create a forum for avanzatel.com? part of having a forum is also for seo so it would be better 2 forums avanzatel.com and avanzatel.com/es

 

Posts: 27
Topic starter
(@blade)
Eminent Member
Joined: 3 years ago

Update to last post.

I uninstalled Wpforo and turned off Network activate and then installed again. This time there is no wordpress debug log so nothing goine wrong there, but still not working.

avanzatel.com/es/community/ = Not working

avanzatel.com/es/community/members/ = Working

avanzatel.com/es/community/recent/ = Working

It just seems to be the community forum not working and adding forums

avanzatel.com/community/ = everything works

 

Page 1 / 2