
Originally Posted by
websmith
....however I get the following Debug error:
Code:
[24-Nov-2022 14:50:49 America/Chicago] Request URI: /humphreystow/index.php?cmd=recover_cart_sales, IP address: 98.190.184.37
#0 /var/www/alt1.humphreystowbars.com/public_html/humphreystow/recover_cart_sales.php(577): zen_debug_error_handler()
#1 /var/www/alt1.humphreystowbars.com/public_html/humphreystow/index.php(11): require('...')
--> PHP Warning: Undefined array key "message" in /var/www/alt1.humphreystowbars.com/public_html/humphreystow/recover_cart_sales.php on line 577.
I do not have mail installed on this particular test server, it is just basic, so I cannot check to see if it is sending correctly at the moment.
i'm showing this on line 563:
PHP Code:
<td><?php echo zen_draw_textarea_field('message', 'soft', '100%', '15', $_POST['message']); ?></td>
which i am guessing corresponds to your line 577.
that warning can be resolved like so:
PHP Code:
<td><?php echo zen_draw_textarea_field('message', 'soft', '100%', '15', $_POST['message'] ?? ''); ?></td>
best.