Solved

Error when going to Blog on Drupal Website

Posted on 2013-06-02
2
171 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dynamic Display Block not showing 4 412
Drupal no cookie session management 5 436
Configure Extra Settings doesn't show up in Drupal 5 94
Customizing themes 14 83
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 …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

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