Closed (fixed)
Project:
OneHub
Version:
8.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2023 at 17:44 UTC
Updated:
27 Sep 2023 at 15:44 UTC
Jump to comment: Most recent
When a folder id in an a OneHub field is not accessible for some reason, it throws an error:
OneHubApi::callApi returns null or array
$folders = $this->callApi($path);
$this->getItems($folders);
But the function call for getItems is getItems(array $call) so this throws an error.
Check the value is an array first before calling.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
chrisdarke commentedAdding merge request
Comment #6
oadaeh commentedI've merged this in. Thanks.