Philip32 Posted October 5, 2021 Share Posted October 5, 2021 Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. For additional assistance, please reference the WHMCS TroubleShooting Guide » Error: Call to undefined function RSThemes\Service\str_slug() in /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/modules/addons/RSThemes/src/Service/Hooks.php:73 Stack trace: #0 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/modules/addons/RSThemes/hooks.php(128): RSThemes\Service\Hooks->ClientAreaHomepagePanels() #1 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): WHMCS\Utility\SafeInclude::{closure}(Object(WHMCS\View\Menu\Item)) #2 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run('ClientAreaHomep...', Array, true) #3 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array) #4 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/clientarea.php(0): run_hook('ClientAreaHomep...', Array, true) #5 {main} 0 Quote Link to comment Share on other sites More sharing options...
0 steven99 Posted October 6, 2021 Share Posted October 6, 2021 It can't find the function str_slug() within the RSThemes\Service\ namespace most likely because RSThemes\Service is not loading via a autoloader. If there is a RSThemes/Service.php file, that has to be included in some way in to the hooks file. 0 Quote Link to comment Share on other sites More sharing options...
0 pRieStaKos Posted October 6, 2021 Share Posted October 6, 2021 I think the developers of the theme could help you more. 1 Quote Link to comment Share on other sites More sharing options...
Question
Philip32
Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.
For additional assistance, please reference the WHMCS TroubleShooting Guide »
Error: Call to undefined function RSThemes\Service\str_slug() in /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/modules/addons/RSThemes/src/Service/Hooks.php:73
Stack trace:
#0 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/modules/addons/RSThemes/hooks.php(128): RSThemes\Service\Hooks->ClientAreaHomepagePanels()
#1 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): WHMCS\Utility\SafeInclude::{closure}(Object(WHMCS\View\Menu\Item))
#2 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run('ClientAreaHomep...', Array, true)
#3 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array)
#4 /var/www/vhosts/zap814793-1.plesk08.zap-webspace.com/httpdocs/whmcs/clientarea.php(0): run_hook('ClientAreaHomep...', Array, true)
#5 {main}
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.