#5232 - cms_merge catalogues: Triggers strip_comcode(NULL) in eval tempcode
| Identifier | #5232 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | cms_merge catalogues: Triggers strip_comcode(NULL) in eval tempcode |
| Status | Completed |
| Handling member | PDStig |
| Addon | General / Uncategorised |
| Description | [05-Jan-2023 18:21:11 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to strip_comcode() must be of the type string, null given, called in /home/patricks/git/composr/sources/global.php(336) : eval()'d code on line 1199 and defined in /home/patricks/git/composr/sources/comcode.php:257
Stack trace: #0 /home/patricks/git/composr/sources/global.php(336) : eval()'d code(1199): strip_comcode(NULL) #1 /home/patricks/git/composr/sources/hooks/modules/admin_import/cms_merge.php(2399): actual_add_catalogue_entry(9, 1, '', 1, 1, 1, Array, 1672938624, 2, NULL, 0, 1) #2 /home/patricks/git/composr/adminzone/pages/modules/admin_import.php(734): Hook_import_cms_merge->import_catalogues(Object(DatabaseConnector), 'cms11_', '/home/patricks/...') #3 /home/patricks/git/composr/adminzone/pages/modules/admin_import.php(233): Module_admin_import->do_import() #4 /home/patricks/git/composr/sources/zones.php(785): Module_admin_import->run() #5 /home/patricks/git/composr/sources/site.php(1480): load_module_page('adminzone/pages...', 'admin_import') #6 /home/patricks/ in /home/patricks/git/composr/sources/comcode.php on line 257 |
| Steps to reproduce | |
| Additional information | Please let me know when this is fixed; many cms_merge tests depend on this being fixed before I can proceed. |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There have been no comments yet