Solved

Error when going to Blog on Drupal Website

Posted on 2013-06-02
2
168 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
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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 …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now