Jump to content
  • 0
Philip32

Can someone help me with this problem, I have tried to figure it out for hours

Question

 

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}

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated