Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
torvista opened this issue Mar 25, 2022 · 0 comments

Comments

@torvista
Copy link

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

if ($v_status == '0') { // request deactivate this item
$v_db_status = '0';
}
if ($v_status == '1') { // request activate this item
$v_db_status = '1';

PHP Warning: Undefined array key "es" in ADMIN\easypopulate_4_import.php on line 864.

$categories_count_value['id'] = $categories_count['id'][$lid_first_code];

Repeated for all data lines of the csv.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant