Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Solved] Fatal error

2 Posts
2 Users
0 Reactions
2,145 Views
Melafon
Posts: 47
Topic starter
(@rexxx)
Trusted Member
Joined: 8 years ago

Hi. On wpforo plugin dashboard plugin in statistic i have report "fatal error".

 

What is wrong? how fix it?

forum link: https://www.russpuss.ru

 

Fatal error: Uncaught RuntimeException: SplFileInfo::getSize(): stat failed for /home/russpuss1/public_html/wp-content/uploads/wpforo/default_attachments/1540327502-justynad.webp in /home/russpuss1/public_html/wp-content/plugins/wpforo/wpf-includes/functions.php:159 Stack trace: #0 /home/russpuss1/public_html/wp-content/plugins/wpforo/wpf-includes/functions.php(159): SplFileInfo->getSize() #1 /home/russpuss1/public_html/wp-content/plugins/wpforo/wpf-admin/dashboard.php(160): wpforo_dir_size('/home/russpuss1...') #2 /home/russpuss1/public_html/wp-content/plugins/wpforo/wpf-admin/admin.php(65): require('/home/russpuss1...') #3 /home/russpuss1/public_html/wp-includes/class-wp-hook.php(286): wpforo_toplevel_page('') #4 /home/russpuss1/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #5 /home/russpuss1/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #6 /home/russpuss1/public_html/wp-admin/admin.php(253): do_action('toplevel_page_w...') #7 {main} thrown in /home/russpuss1/public_html/wp-content/plugins/wpforo/wpf-includes/functions.php on line 159

1 Reply
Sofy
Posts: 5486
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi @rexxx,

This is not the wpForo issue. 

Seems to have something to do with the size of the file you're processing. Seems that if the file is larger than what's set in your php.ini file under post_max_size and upload_max_filesize, it'll pop up this exception.

Something similar was asked here:
https://stackoverflow.com/questions/24138189/runtimeexception-splfileinfogetsize-stat-failed-for-laravel-4-upload-ima