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

PHP warnings while generating products #126

Open
coreymckrill opened this issue Jun 15, 2023 · 0 comments
Open

PHP warnings while generating products #126

coreymckrill opened this issue Jun 15, 2023 · 0 comments
Labels
bug Issue that can be reproduced.

Comments

@coreymckrill
Copy link
Contributor

While the CLI is generating products, with WP_DEBUG turned on, the following warnings periodically show up:

Warning: Undefined array key 0 in /var/www/html/wp-content/plugins/wc-smooth-generator/includes/Generator/Generator.php on line 99
Warning: Attempt to read property "term_id" on null in /var/www/html/wp-content/plugins/wc-smooth-generator/includes/Generator/Generator.php on line 99

It doesn't happen for every product generated. When generating 20 products, I am seeing the set of two warnings 5 times.

@coreymckrill coreymckrill added the bug Issue that can be reproduced. label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue that can be reproduced.
Projects
None yet
Development

No branches or pull requests

1 participant