Company Directory error after recent upgrade

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
elkman
Power Poster
Power Poster
Posts: 262
Joined: Thu Jan 11, 2007 9:16 pm

Company Directory error after recent upgrade

Post by elkman »

Just upgraded Company Directory and now see an error when viewing a member entry in the admin edit area.

Code: Select all

Warning: Invalid argument supplied for foreach() in /home/tcounty/public_html/ccvchamber/modules/CompanyDirectory/action.editcompany.php on line 762
Any idea what happened? Everything template in the CD is default.
Jaro
New Member
New Member
Posts: 6
Joined: Thu May 22, 2008 11:53 am

Re: Company Directory error after recent upgrade

Post by Jaro »

I had the same warning. I solved it by adding a Field Definition with type 'Album (group of pictures)'. Although this field isn't used in my directory, somehow the code on line 762 of action.editcompany.php expects it to be there.

Next, another error was displayed when clicking on the new 'Album' tab that appeared after adding this Field Definition. This can be solved by installing the CGSmartImage module (which seems to be a dependency that is not detected during installation).

Hope this helps.
Post Reply

Return to “Modules/Add-Ons”