Planet Drupal

Debug the "Warning: Invalid argument supplied for foreach() in element_children() (line 6xxx of .../includes/" error in Drupal quickly with this little snippet!

When creating a Drupal site with the hopes of user engagement you generally need users of the site to have an account. Often potential users don't want to share their email account or other personal information with just any random site on the internet and this barrier can be a huge hurdle when it comes time for them to signup. An effective way around this is to leverage third party login services such as Google+ or Facebook. In this short tutorial I'll show you how to enable the latter on your Drupal site.

So you've been reading about this Drush-based server management tool called "Seed" that we've been touting for the past year and you want it. There's just one problem. You're on OSX. Well have no fear, follow this tutorial and you'll be up and running with Seed on your Mac in no time!
When a user is trying to search something on your website, you want to help them find what they want quickly. We are human, we make mistakes. When users make a typo, we should try to guess what they are looking for so that they don't have to type it again. Especially when more users use their smart phone/tablet to browse the web. It is much harder for them to re-type their searches.

So you’ve got a shiny new website. It’s been built on Drupal, the best Open Source CMS platform on the planet. You can easily manage all the content on your website. It’s responsive and works beautifully on all devices. It’s so nice not to need your agency, or web shop anymore isn’t it - you have the power! But wait… one day you wake up, pour yourself a cup of joe and login to your site to post that press release that needs to go out today... and see this unnerving warning: