Osclass Support Forums - Rackons.in

Osclass Plugin Support => Others => Topic started by: cojeniran on December 09, 2019, 07:35:22 PM

Title: Osclass messenger not working
Post by: cojeniran on December 09, 2019, 07:35:22 PM
Hello,
After i installed osclass messenger and copy all code to the wright location and test run the messenger chat i get the following error no matter the theme i use "
Fatal error: Uncaught ArgumentCountError: Too few arguments to function ModelOSCM::insertMessage(), 5 passed in /home/sureadun/zar.suremoney.club/oc-content/plugins/osclass_messenger/functions.php on line 80 and exactly 6 expected in /home/sureadun/zar.suremoney.club/oc-content/plugins/osclass_messenger/model/ModelMSG.php:84 Stack trace: #0 /home/sureadun/zar.suremoney.club/oc-content/plugins/osclass_messenger/functions.php(80): ModelOSCM->insertMessage('3', 0, 0, 'Hjjj', 1) #1 /home/sureadun/zar.suremoney.club/oc-content/plugins/osclass_messenger/user/send_message.php(31): oscm_insert_message('3', 'Hjjj', 0, Array) #2 /home/sureadun/zar.suremoney.club/oc-includes/osclass/helpers/hTheme.php(45): include('/home/sureadun/...') #3 /home/sureadun/zar.suremoney.club/oc-content/themes/bender/custom.php(25): osc_render_file() #4 /home/sureadun/zar.suremoney.club/oc-includes/osclass/helpers/hDefines.php(238): require('/home/sureadun/...') #5 /home/sureadun/zar.suremoney.club/oc-includes/osclass/controller/custom.php(77): osc_curr in /home/sureadun/zar.suremoney.club/oc-content/plugins/osclass_messenger/model/ModelMSG.php on line 84"

I need a solution to fixing this.

Thank you