Forums » 3rd Party Product Discussions

Error with undefined variable

    • 30 posts
    July 19, 2020 9:21 AM EDT

    Hello anyone im a bit newbie to this but can anyone give me a little help how i can solve this and what is wrong ? 

    #3 /var/www/html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http, Zend_Controller_Response_Http)
    #4 /var/www/html/application/modules/Sesapi/Bootstrap.php(57): Zend_Controller_Front->dispatch()
    #5 /var/www/html/application/sesapi.php(129): Sesapi_Bootstrap->run(Engine_Application)
    #6 /var/www/html/apps/sesapi.php(35): include('/var/www/html/application/sesapi...')
    #7 /var/www/html/boot.php(47): include('/var/www/html/apps/sesapi.php')
    #8 /var/www/html/index.php(23): Engine_Boot->boot()
    #9 {main}
    
    2020-07-18T14:08:31+00:00 NOTICE (5): [8] Undefined variable: sesAdv (/var/www/html/application/modules/Sesapi/controllers/Activity/activity.php) [13]
    Error Code: 86eae6
    Stack trace:
    #0 /var/www/html/application/modules/Sesapi/controllers/Activity/IndexController.php(836): include('/var/www/html/application/module...')
    #1 /var/www/html/application/libraries/Zend/Controller/Action.php(516): Activity_IndexController->indexAction()
    #2 /var/www/html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
    #3 /var/www/html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http, Zend_Controller_Response_Http)
    #4 /var/www/html/application/modules/Sesapi/Bootstrap.php(57): Zend_Controller_Front->dispatch()
    #5 /var/www/html/application/sesapi.php(129): Sesapi_Bootstrap->run(Engine_Application)
    #6 /var/www/html/apps/sesapi.php(35): include('/var/www/html/application/sesapi...')
    #7 /var/www/html/boot.php(47): include('/var/www/html/apps/sesapi.php')
    #8 /var/www/html/index.php(23): Engine_Boot->boot()
    #9 {main}
    
    2020-07-18T14:08:31+00:00 NOTICE (5): [8] Undefined variable: sesAdv (/var/www/html/application/modules/Sesapi/controllers/Activity/activity.php) [13]
    Error Code: 5f6c2e
    Stack trace:
    #0 /var/www/html/application/modules/Sesapi/controllers/Activity/IndexController.php(836): include('/var/www/html/application/module...')
    #1 /var/www/html/application/libraries/Zend/Controller/Action.php(516): Activity_IndexController->indexAction()
    #2 /var/www/html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
    #3 /var/www/html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http, Zend_Controller_Response_Http)
    #4 /var/www/html/application/modules/Sesapi/Bootstrap.php(57): Zend_Controller_Front->dispatch()
    #5 /var/www/html/application/sesapi.php(129): Sesapi_Bootstrap->run(Engine_Application)
    #6 /var/www/html/apps/sesapi.php(35): include('/var/www/html/application/sesapi...')
    #7 /var/www/html/boot.php(47): include('/var/www/html/apps/sesapi.php')
    #8 /var/www/html/index.php(23): Engine_Boot->boot()
    #9 {main}
    
    2020-07-19T13:13:39+00:00 CRIT (2): 
    Error Code: fe5e5e
    Zend_Json_Exception: Must specify JSON encoded source for decoding in /var/www/html/application/libraries/Zend/Json/Decoder.php:148
    Stack trace:
    #0 /var/www/html/application/modules/User/controllers/CoverphotoController.php(37): Zend_Json_Decoder::decode(NULL)
    #1 /var/www/html/application/libraries/Zend/Controller/Action.php(516): User_CoverphotoController->getCoverPhotoAction()
    #2 /var/www/html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('getCoverPhotoAc...')
    #3 /var/www/html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #4 /var/www/html/application/modules/Core/Bootstrap.php(86): Zend_Controller_Front->dispatch()
    #5 /var/www/html/application/libraries/Engine/Application.php(160): Core_Bootstrap->run()
    #6 /var/www/html/application/index.php(223): Engine_Application->run()
    #7 /var/www/html/boot.php(47): include('/var/www/html/a...')
    #8 /var/www/html/index.php(23): Engine_Boot->boot()
    #9 {main}
    





    Regards Kasper :) 


    This post was edited by Donna at July 19, 2020 10:06 AM EDT
    • Moderator
    • 5035 posts
    July 19, 2020 10:11 AM EDT

    Hi Kasper!

    For bugs, please post according to the stickied guidelines that are at the top of this section. It helps us to test better. :) I changed the title some, to conform but still the title needs to be changed again once we figure out more.

     

    1. Are you using the free mobile apps or did you get the advanced one?
    2. Did you upgrade the mobile apps? The above error for SESAPI is from the mobile apps.
    3. The other error for cover photo, did you have any third party plugin for cover photo, user profiles,  advanced user, third party theme, or anything that could be causing that? 

     

    I don't have either of the above issues on the demo which is fully upgraded. This site is also fully upgraded and not having a cover photo issue. So, we need to figure what is causing it on your site.


    This post was edited by Donna at July 19, 2020 10:12 AM EDT
  • July 20, 2020 4:52 AM EDT

    Hi Kasper,

     

    We would request you to please contact our support team for the API issues you are facing at support@socialnetworking.solutions , so our team can check the issue.

     

    Regards

    Team SNS


    This post was edited by SocialNetworking .Solutions at July 20, 2020 4:53 AM EDT
  • July 20, 2020 5:14 AM EDT

    For the log error in Cover Photo, I have tested and it is working fine on our local and staging.

    We will require further access of your site or details to check the error.

     

    If you contact the SNS support team, then please mention all the errors so the team can check and assist you better.

    • 30 posts
    July 27, 2020 12:13 PM EDT

    Thank you very much :)