View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027106 | mantisbt | upgrade | public | 2020-07-24 04:41 | 2020-08-09 07:53 |
Reporter | bahexad574 | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 2.24.1 | ||||
Summary | 0027106: INTERNAL APPLICATION ERROR Argument 1 passed to columns_remove_invalid() must be of the type array, string given, called in... / | ||||
Description | After upgrading from 1.2.19 to 2.24.1 my view issues and my view page have an INTERNAL APPLICATION ERROR. I checked other tickets about the same problem : https://www.mantisbt.org/forums/viewtopic.php?t=25912 https://www.mantisbt.org/bugs/view.php?id=25932 https://mantisbt.org/forums/viewtopic.php?t=24300 And as the second one, if i delete the entry " view_issues_page_columns ", it works again. I tried to remove the NULLS entry in the custom columns but it was not the problem apparently. | ||||
Additional Information | Argument 1 passed to columns_remove_invalid() must be of the type array, string given, called in public_html/core/custom_function_api.php on line 315. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
As I believe you found out yourself, the problem usually occurs when the user have a null or empty column defined in their column preferences.
That's the easiest way to fix the issue. You could also try cproensa's suggestion in 0025932:0062419 or manually fix the offending record(s). Anyway, it would appear you have a solution to your problem. Are you OK to close this issue ? If you can provide a reproducible case from a fresh install of MantisBT, we may be able to analyze further and maybe fix the code, but without that I'm afraid there is not much more we can do. |
|
Thanks for reponse, indeed it was about empty user preferences. |
|