AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Fatal error

2 Posts
2 Users
0 Reactions
2,427 Views
Melafon
Posts: 47
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@rexxx)
Trusted Member
Joined: 9 years ago
[#8961]

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: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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


Share: