• Resolved jtej11

    (@juzzz)


    Hello,

    I hope you’re doing well, I am getting a warning error when I try to save the 3cx chat setting after pasting in the talk url given to me. I got the talk url by creating a 3cx startup account and creating a “system” to link to my website. Can you help? The error is pasted below:

    Warning: Undefined array key “port” in /home/customer/www/mywebsites.com.au/public_html/wp-content/plugins/wp-live-chat-support/admin/class-wplc-plugin-settings.php on line 303

    Warning: Undefined array key “include_pages” in /home/customer/www/mywebsites.com.au/public_html/wp-content/plugins/wp-live-chat-support/admin/class-wplc-plugin-settings.php on line 307

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/financebrokerwebsites.com.au/public_html/wp-content/plugins/wp-live-chat-support/admin/class-wplc-plugin-settings.php:303) in /home/customer/www/mywebsites.com.au/public_html/wp-includes/pluggable.php on line 1421″

    I ended up digging into the flies with the warnings and found i could get the error with file "class-wplc-plugin-settings.php" to go away when i changed line 307 from "if (is_array($input['include_pages'])) {" to "if (isset($input['include_pages'])) {".
    
    I haven't been able to figure out how to fix the error on line 303 because i don't have much experience with php code. The code with a warning is on line 303 and is pasted below:
    $output['callus_url']='https://'.$url['host'].(($url['port']!=443) ? ':'.$url['port'] : '').'/'.$path;
    
    Has anyone else had this issue?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error when i try to save settings after new plugin update’ is closed to new replies.