Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Illegal string offset warning when trying to send an email from Admin

    Emails are getting through, but this warning fills the page when sent.

    Warning: Illegal string offset 'EMAIL_TO_NAME' in includes/functions/functions_email.php on line 83

    Warning: Illegal string offset 'EMAIL_TO_ADDRESS' in includes/functions/functions_email.php on line 84

    Warning: Illegal string offset 'EMAIL_SUBJECT' in includes/functions/functions_email.php on line 85

    Warning: Illegal string offset 'EMAIL_FROM_NAME' in includes/functions/functions_email.php on line 86

    Warning: Illegal string offset 'EMAIL_FROM_ADDRESS' in includes/functions/functions_email.php on line 87

    Warning: Cannot modify header information - headers already sent by (output started at includes/functions/functions_email.php:83) in admin/includes/functions/general.php on line 21

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Illegal string offset warning when trying to send an email from Admin

    What version of ZC?
    What version of php is the server running?
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Illegal string offset warning when trying to send an email from Admin

    PHP 5.44, ZC1.38 completely patched up past 1.39 to work with PHP 5.44.

    The error above was actually from when I was resending archived emails.

    If I send a normal message from the admin side to a user, this is the error messages

    Warning: Illegal string offset 'file' in includes/functions/functions_email.php on line 255

    Warning: Illegal string offset 'file' in includes/functions/functions_email.php on line 255

    Warning: Illegal string offset 'file' in includes/functions/functions_email.php on line 255

    Warning: Cannot modify header information - headers already sent by (output started at includes/functions/functions_email.php:255) in admin/includes/functions/general.php on line 26

  4. #4
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Illegal string offset warning when trying to send an email from Admin

    Fixed the 'file' error messages, inserted new code from Zencart 1.6 files into my includes/functions/functions_email.php and all working perfectly with no errors.

    Stilll have the Warning: Illegal string offset 'EMAIL_TO_NAME' in includes/functions/functions_email.php on line 83 from Email Archive Manager, though this is a third party extension.

  5. #5
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Illegal string offset warning when trying to send an email from Admin

    Did you manage to get this resolved?

    I am getting the error
    Illegal string offset 'EMAIL_TO_NAME' in
    when sending mail using the Autoresponder plugin.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 2 Mar 2016, 07:05 AM
  2. Replies: 9
    Last Post: 23 Mar 2015, 08:42 AM
  3. v151 PHP Warning: Illegal string offset 'r_error' in linkpoint_api.php
    By BGundlach in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 15 Sep 2014, 09:16 PM
  4. v151 PHP Warning: Illegal string offset 'id'
    By Nettric in forum Bug Reports
    Replies: 3
    Last Post: 30 May 2014, 06:53 AM
  5. Replies: 1
    Last Post: 30 Sep 2013, 07:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR