-
Notifications
You must be signed in to change notification settings - Fork 1
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 warning #7
Comments
Hi! Did you gave a chance to look at this issue? Not urgent, but probably quick fix if you have a quick look. Thanks! /Magnus |
I lost a bit of motivation when trying to rebuild the PDF editor button fo rJ4 I looked at it but I have problems replicating. I do not know which one fieldtype you use; multicheckbox, multiselect, select or radio ? and what the users have selected. |
@magnushasselquist Now back in the correct issue instead of #6 The problem does occur when the field value is changed (or a choice gets deleted). The user then still has the old value in the comprofiler table which cannot be found in the comprofiler_field_values table. I do not see another way then using the value to get the data. Value should not be changed because it is the Identifier. Label on the other hand can be changed without a problem. So you could click on save for every user (or check the in comprofiler table the column for wrong values) then it should also go away. An other solution is placing this if around the foreach but I`m not sure i want to do that. Instead I maybe should give a warning that a user has an invalid value.
|
Fix for #7 Fix php warnings with a non-filtered list and changed multiple choice options.
V3.0.4 is published. :) |
Warning: foreach() argument must be of type array|object, null given in mod_cblistmodule/helper.php on line 92
(php version 8.0)
(latest version of cblistmodule)
The text was updated successfully, but these errors were encountered: