mc12345678 / EasyPopulate-4.0

Data import and export module for Zencart 1.3.x and 1.5.x
GNU General Public License v2.0
10 stars 8 forks source link

import categories: PHP Warning: Undefined variable $v_status, Undefined array key "es" #64

Open torvista opened 2 years ago

torvista commented 2 years ago

php 8.0.17, strict error reporting, using what appears to be most developed branch: CSV-delimiter-catalog-message-correct.

CSV file has three columns: v_products_model | v_categories_name_1 | v_categories_name_2 for english and spanish

Undefined variable $v_status in ADMIN\easypopulate_4_import.php on line 655 and 658 https://github.com/mc12345678/EasyPopulate-4.0/blob/84331ebfabc2a56449363dcc7218475baaed841c/admin/easypopulate_4_import.php#L655-L659

PHP Warning: Undefined array key "es" in ADMIN\easypopulate_4_import.php on line 864. https://github.com/mc12345678/EasyPopulate-4.0/blob/84331ebfabc2a56449363dcc7218475baaed841c/admin/easypopulate_4_import.php#L864

Repeated for all data lines of the csv.

Import apparently works: no errors and p2c table appears correct.