Greetings,
Forum has been rolling along unencumbered for a while now. Yesterday I started getting messages from users that things were down. When I got a chance to look at it today I got this error message. Any advice as to how to restore it would be great, thanks
Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/functions.php:843 Stack trace: #0 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/functions.php(843): fclose(false) #1 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/class-cache.php(152): wpforo_write_file('/home/ezl_admin...', 'a:23:{s:7:"foru...') #2 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/class-cache.php(141): wpForoCache->create_files(Array, 'item', 'forum/') #3 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/functions-template.php(1335): wpForoCache->create('item', Array, 'forum') #4 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/class-posts.php(1313): wpforo_forum('4', 'slug') #5 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpforo.php(675): wpForoPost->get_post_url('54345') #6 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/functions.php(1317): wpForo->statistic('update', 'all') #7 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/functions-installation.php(97): wpforo_clean_cache() #8 /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/functions-installation.php(17): wpforo_activation() #9 /home/ezl_admin/ezloungin.com/wp-includes/class-wp-hook.php(307): do_wpforo_activation('') #10 /home/ezl_admin/ezloungin.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #11 /home/ezl_admin/ezloungin.com/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #12 /home/ezl_admin/ezloungin.com/wp-admin/plugins.php(194): do_action('activate_wpforo...') #13 {main} thrown in /home/ezl_admin/ezloungin.com/wp-content/plugins/wpforo/wpf-includes/functions.php on line 843
Hi @highme,
We know about this issue, it has been fixed for wpForo major 2.0 version, and if this issue doesn't harm on the functionality of wpForo you can leave it.
If you get problems from this issue, we can fix it on your website. Just let us know.
i update automaticaly all addons and now i get critical errors
Error Details
=============
An error of type E_ERROR was caused in line 7 of the file /home/admin/domains/http://adultforum.gr/public_html/wp-content/plugins/go2wpforo/includes/functions.php&source=gmail&ust=1659633519699000&usg=AOvVaw27wM5Pj8RTJHQxwSGfaqq C">adultforum.gr/public_html/wp-content/plugins/go2wpforo/includes/functions.php. Error message: Uncaught Error: Call to undefined function wpforo_is_admin() in /home/admin/domains/http://adultforum.gr/public_html/wp-content/plugins/go2wpforo/includes/functions.php:7&source=gmail&ust=1659633519699000&usg=AOvVaw18FRRBTRCIUF78S6xWHFO u">adultforum.gr/public_html/wp-content/plugins/go2wpforo/includes/functions.php:7
Stack trace:
#0 /home/admin/domains/http://adultforum.gr/public_html/wp-includes/class-wp-hook.php(307)&source=gmail&ust=1659633519699000&usg=AOvVaw3ieIohRGey3By509pP6Pf r">adultforum.gr/public_html/wp-includes/class-wp-hook.php(307): mg2wpforo_init()
#1 /home/admin/domains/http://adultforum.gr/public_html/wp-includes/class-wp-hook.php(331)&source=gmail&ust=1659633519699000&usg=AOvVaw0k5l-cZfJ1up1wsGL5yv- F">adultforum.gr/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /home/admin/domains/http://adultforum.gr/public_html/wp-includes/plugin.php(476)&source=gmail&ust=1659633519699000&usg=AOvVaw1LLLtAC0XdFse70bdjDlG L">adultforum.gr/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /home/admin/domains/http://adultforum.gr/public_html/wp-settings.php(461)&source=gmail&ust=1659633519699000&usg=AOvVaw0q2RZjaKBuEQ3Y2bHUz8r 3">adultforum.gr/public_html/wp-settings.php(461): do_action()
#4 /home/admin/domains/http://adultforum.gr/public_html/wp-config.php(85)&source=gmail&ust=1659633519699000&usg=AOvVaw0TiJEVvx3HETGJVKPX-ly y">adultforum.gr/public_html/wp-config.php(85): require_once('...')
#5 /home/admin/domains/http://adultforum.gr/public_html/wp-load.php(50)&source=gmail&ust=1659633519699000&usg=AOvVaw3HfOSqX_vdcBPC95LK5bc a">adultforum.gr/public_html/wp-load.php(50): require_once('...')
#6 /home/admin/domains/http://adultforum.gr/public_html/wp-admin/admin.php(34)&source=gmail&ust=1659633519699000&usg=AOvVaw0dLM0XTAiTJV15rpdK3iP f">adultforum.gr/public_html/wp-admin/admin.php(34): require_once('...')
#7 /home/admin/domains/http://adultforum.gr/public_html/wp-admin/edit-comments.php(10)&source=gmail&ust=1659633519699000&usg=AOvVaw0P06XJQJi2QuOMTAP9F4m _">adultforum.gr/public_html/wp-admin/edit-comments.php(10): require_once('...')
#8 {main}
thrown
Hmm, I don't see why you still keep active the OLD Go2wpForo tool??
All errors come from the old Go2wpForo tool, it cannot be automatically updated.
I got access back to my site now, I will follow the step you recommend now