• Resolved sharonejackson

    (@sharonejackson)


    I opened my site in a new browser. I sent myself a message from there..three actually. The first one I got because the setting was “office settings” and my email gave the name I entered, the email and the message. But I wanted to see how it works, so for office hours, I selected “Never closed”

    After 10 minutes when I did not get an email, I went to users and found this code:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘LivelyChatSupport_agent_fields’ not found or invalid function name in /home/themoon/public_html/sandbox/wp-includes/plugin.php on line 406

    I have no idea what that is trying to tell me. Do you?

    If I can get this to work, I will gladly pay a donation and be a reseller!!

    https://www.ads-software.com/plugins/lively-chat-support/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous User 9782929

    (@anonymized-9782929)

    Hi Sharone,

    I think you may have Debug Mode on, which is showing you this error. Either way, to fix, delete lines 84 – 89 on lively-chat-support.php (I’ll do so in the next release as well):


    if (LIVELYCHATSUPPORT_ADMIN == true) {
    add_action( "show_user_profile", "LivelyChatSupport_agent_fields" );
    add_action( "edit_user_profile", "LivelyChatSupport_agent_fields" );
    add_action( "personal_options_update", "LivelyChatSupport_save_agent_fields" );
    add_action( "edit_user_profile_update", "LivelyChatSupport_save_agent_fields" );
    }

    Thanks for mentioning this!

    To clarify, the original problem was that you didn’t receive an email when it was set to “Always Online”?

    Thread Starter sharonejackson

    (@sharonejackson)

    Hi Dallas, I will delete lines 84 to 89. I am a little confused. Are those the lines above? If so, there are more than 6 lines or is this code intended to replace those 6 lines?

    And yes, you are correct about the original problem

    I just tested it again. It is set to “office Hours.” I got an email from the person, but it did not appear in the Chat dashboard.

    I am unclear about how I would have installed in “debug” mode, when all I did was a basic install. I am really looking forward to getting this working as I am doing a website for a tech company who has several hundred customers, some of whom may want to use this themselves.

    Anonymous User 9782929

    (@anonymized-9782929)

    The lines above we’re the ones to be deleted.

    This may seem simple, but the visitors page only shows visitors appearing between the two dates. Are the dates set to include today?

    Also, are you using the multi agent addon?

    Thread Starter sharonejackson

    (@sharonejackson)

    Today it did not work since I had it set to Office Hours. I will delete the lines of code and try again.

    No multi-agent add-ons I am only using the free version right now but will try to convince them to upgrade!

    Anonymous User 9782929

    (@anonymized-9782929)

    If you’d like, invite me to the back end and I’ll take a look. My email is dallas at excitecreative.ca.

    Thread Starter sharonejackson

    (@sharonejackson)

    OK. I removed the lines of code and the whole plugin was deactivated in the plugin list. I reactivated and it now seems to work like a charm.

    I understand that this will be one of the improvements in the upgrade which will hopefully be next week.

    Thank you for your support! I will be happy to be a reseller for you because this gives me another “tool” for my web design toolbox!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘function 'LivelyChatSupport_agent_fields' not found’ is closed to new replies.