ce7 Posted July 3, 2020 Share Posted July 3, 2020 hi I am trying to display the image folder tree into dropdown menu. echo tep_draw_pull_down_menu('sub_directory', showSub($dir2, $sub)); foreach( $it as $key => $temp ) { ...... } the error message indicate that @admin/includes/function/html_output.php foreach inside the tep_draw_pull_down_menu() has Invalid argument supplied... Link to comment Share on other sites More sharing options...
♥ecartz Posted July 3, 2020 Share Posted July 3, 2020 10 hours ago, ce7 said: showSub($dir2, $sub) It's telling you that that function is not returning an array. It would need to consistently return an array to be used that way. Always back up before making changes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.