composer Warning: Invalid argument supplied for foreach() in

Permalink Browser Info Environment
I am trying to use this slider add in the composer and it brings up an error ... Warning: Invalid argument supplied for foreach() in /Users/name/localhost/projects/root/packages/cameracrete_slider/blocks/cameracrete_slider/view.php on line 36

Type: Discussion
Status: In Progress
JoeyNizuk
View Replies:
JoeyNizuk replied on at Permalink Reply
JoeyNizuk
I just figured out why I was getting this error. The composer needs to be added to the controller.php file. For anyone else who might have this problem, just open up the controller.php file and past this code under the last public function

public function composer() {
$this->view();
}

Although, now I am getting another error when I try to save the slider through the composer ... {"aID":"58","arHandle":"Equipment Images","cID":"157","error":false,"bID":"51"}
nesoor replied on at Permalink Reply
nesoor
Hey Dwh,

I have the exact same problem.
Did you find a fix?

concrete5 Environment Information

# concrete5 Version
5.6.3.2

# concrete5 Packages
Advanced Scrolling Wrapper (1.1.1), Best Suite - Core (1.2.6), Breadcrumbs (2.0), CameraCRETE Slider (1.0).

# concrete5 Overrides
languages/ar, languages/cs_CZ, languages/da_DK, languages/de_DE, languages/el_GR, languages/es_AR, languages/es_ES, languages/es_MX, languages/es_PE, languages/fa_IR, languages/fi_FI, languages/fr_FR, languages/it_IT, languages/ja_JP, languages/nb_NO, languages/nl_NL, languages/pt_PT, languages/ro_RO, languages/ru_RU, languages/sk_SK, languages/sl_SI, languages/sv_SE, languages/tr_TR, languages/vi_VN, languages/zh_TW, themes/TKO_Theme

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache/2.2.25 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.5 PHP/5.5.10 mod_ssl/2.2.25 OpenSSL/0.9.8za DAV/2 mod_perl/2.0.8 Perl/v5.18.0

# Server API
apache2handler

# PHP Version
5.5.10

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, yaz, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.