Solved

Error when going to Blog on Drupal Website

Posted on 2013-06-02
2
172 Views
Last Modified: 2013-06-24
When going to my blog on my site I get this error -



    warning: Invalid argument supplied for foreach() in /home/lougar1/kleanrestoration.com/sites/all/modules/cck/content.module on line 1284.
    warning: Invalid argument supplied for foreach() in /home/lougar1/kleanrestoration.com/sites/all/modules/cck/content.module on line 1284.
    warning: Invalid argument supplied for foreach() in /home/lougar1/kleanrestoration.com/sites/all/modules/cck/content.module on line 1284.

Any idea what is causing this? As you can see, the website is kleanrestoration.com.
0
Comment
Question by:tbawarehouse
2 Comments
 
LVL 12

Expert Comment

by:sivagnanam chandrakanth
ID: 39215356
Its looks like you are trying to pull some field / value which doesn't exist..

1) Check whether all the CCK fields exists
2) If you are using Term reference, check whether the term exists
3) Same for userid...
4) Finally clear content cache and check

Hope this helps
0
 
LVL 9

Accepted Solution

by:
scifikillr earned 500 total points
ID: 39216382
To check your content type fields:

1. Navigate to Structure > Content Types > [content type] > Manage fields
2. Note all of the field types that exist here.
3. For any non-standard fields (e.g., reference, video, etc) check the modules page to confirm whether or not the module is present.
4. Download module, put into codebase.

It looks like you're using the stock Blog module, but if you're using a view, you should be able to just edit the view. Any fields which cannot be displayed due to the missing module will show up in the View as 'broken field handler', which will easily identify the missing field type. Replacing the module will fix this error as well.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Drupal Custom View 1 137
Drupal 7 Feeds 1 135
Error occurred when installing module in drupal 1 97
Dev Ops - Deploy Drupal CWS into AWS cloud??? 7 24
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question