Drupal Fatal Error: Unsupported operand types in common.inc on line 2984

Drupal
After updating a Drupal site to version 6.24 from 6.22 I started receiving this error during cron runs: Fatal Error: Unsupported operand types in common.inc on line 2984 I added the following debug text to common.inc to track down the error:
  if (!is_array($elements)) {
    print_r($elements);
    print "\n--------------\n";
    $backtrace = debug_backtrace();
    var_export($backtrace);
    die();
  }
Looking at the stack trace I could see that the issue was with the search module indexing the site. The issue was only occurring for a particular node type. If I deleted all of the nodes for that type everything ran fine. After much debugging and database backup / restoring I still couldn't find why this particular node type was having an issue indexing. I deleted the node type completely and created a new content type and as soon as I created a node of the new type Boom, cron failed with the same problem when indexing. Scratching my head I disabled several modules and still the problem persisted. Finally I deleted the search index and re-ran cron. This time cron failed for a different reason. I was running cron directly from the command line, so I tried running it manually from the site and it ran fine. I ran from the command line again and this time everything worked. I was pretty sure that it was only working because the search only indexes 100-500 nodes at a time and that as soon as it started trying to index the new content type nodes it would fail again, so I set cron to run every 15 seconds via watch:
watch -n 15 php cron.php
I came back a while later and to my surprise the site was 100% indexed and cron was still running fine. I am baffled but the next time I run into an issue where cron is failing due to search indexing my first steps will be to dump the index and re-index the site. I hope this saves someone from the hours of frustration I just went through.
Comments
(Thanks to everyone who comments)

Re: Replacing pages but, keeping copies to maybe put later

latest 2017 govt jobs notificationsefficiency. With the help of the KingZip™ single component roof system from Kingspan Panels, that search is ov - See more at: http://www.kineticbykingspan.com/kingspan-news-us/april-2015/single-component-roofs-over-built-up-roofs-every-time?saved=1#sthash.zXhJUKHf.dpuf
government jobs 2017 notifications


ADFASDF

baahubali 2 movie reviewlutely love your blog and find many of your post’s to be just what I’m looking for. Does one offer guest writers to write content for you person
baahubali 2 movie rating


Drupal Fatal Error: Unsupported operand types in common.inc on l

You must Game Hacker APK Download Latest Version to get all product of the app with the latest updates.


happy Easter day

Easter is the most key event on the Christian calendar—and has been every now and again observed from the soonest days of the Church. Easter Sunday watches Christ's rebuilding from the dead, after painful killing. It mean the complete of Holy Week, the complete of Lent, and the latest day of the Easter Triduum (Holy Thursday, Good Friday and Easter Sunday), and moreover the begin of the Easter time of the stately year. The restoration addresses the triumph of good over noxiousness, sin, destruction, and the physical body.
HappyEaster2017
https://en.wikipedia.org/wiki/Mother


Payday Loans

Love suitable for building of which. I'm sure as in the event I think so much more on this which have a practical Used to do previous to. It truly is simple to follow-up Payday Loans How exciting suitable for beneficial do the job.


niau

I enjoyed over read your blog post. Your blog have nice information, I got good ideas from this amazing blog. I am always searching like this type blog post. I hope I will see again..
starfall | barney | abcya


Celana Hernia

I enjoyed over read your blog post. celana hernia


emoji keyboard

I like this post


DHA | Bahria Town Lahore Karachi Islamabad | Sasti Property

DHA | Bahria Town Lahore Karachi Islamabad | Sasti Property
Sasti Property Provide Real Estate Services Land House Plot for Sale or Rent in DHA Lahore DHA Karachi DHA Islamabad DHA Multan DHA Peshawar and Bahria Town Lahore Bahria Town Karachi Bahria Town Islamabad
http://www.sastipro.pk


Send Online Free Branded Sms with Android App in Pakistan

Send Online Free Branded Sms with Android App in Pakistan | Hoxton Sms
HOXTON Sms is best online sms sender website in Pakistan You can Send Bulk Free Branded Sms from website Android App and messenger with cheapest sms package
http://www.hoxtonsms.com


University Exam

emoji keyboard

Nice job


emoji keyboard

Good job https://emojikeyboard.me


voter id status

Thank you


teclado emoji

I like this


go keyboard

Nice post


lenny face

Good job i like this


lenny face

lenny face

its was truly profitable. much appreciated.


Nice.

I posted this article to my favorites and intend to return to for more outstanding articles.
It’s all too easy to read and comprehend and
also clever post. I definitely enjoyed my first read throughout this post. Have a look at:Whatsapp Dare.


tanki online

The blog or and best that is extremely useful to keep I can share the ideas
of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
animal receway | ski safari
gravity guy


India Travel Company

Hi Friend Your Blog is Very Nice
Hello Friend Best India Travel Company and India Tour Planner & Travel agent to plan best fitting program for modern Luxury Car Rental and Buses at a right budget Services Provided By 24*7 Hours
India Travel Company


very good

I appreciate your article. Articles with deep content, create excitement for the reader. I hope you will be more and more articles. You can also visit my website: five nights at freddys 4 | game word cookies answers | hotmail sign in and game hill climb racing 2


red ball

The share your really gives us excitement. Thanks for your sharing. If you feel tired at work or study try to participate in our games to bring the most exciting feeling. Thank you!
hotmail sign in | red ball game | 192.168.1.1


Lenny Face

Lenny Face

Lenny Face

https://emojikeyboard.me/

I enjoyed over read your blog post.


https://go-keyboard.com/

Looking at the stack trace I could see that the issue was with the search module indexing the site.


nice..

Here comes Results on our channel Wiki live and candidates able to check their10th result online for all india based examination conducted and even more 12th result fir hse students for north india, and south indiasslc result 2017 updates gone live now with cbse result 2017with all new features on icse result 2017and uttarpradesh university goes live withup 10th board result 2017live here at action nift result 2017 live on moday with IBPS Action featured with ibps po 2017

North indian candidates can check your Punjab Board result 2017for 10th and 12th with
SSC Result 2017gone live here at telecast.
Click here to check 12th HSC Result 2017 online and 12th
12th Intermediate result 2017 are declaring along with
Telangana Result 2017and for more check out our official.


anxiety treatment

We decided to open Anxiety House because we wanted to focus on one area rather than all mental health problems.anxiety treatment


Earlier, the board conducted

Earlier, the board conducted the CBSE 10th Result AIEEE Examination for admission to undergraduate courses in engineering and architecture in colleges across India.


Payday Loans

I seriously detected this wonderful excessive info. I need that enables you to would counsel families of that make sure to stay up commenting on these specific information files. Today follow-up Payday Loans Many thanks for keeps offer smart results.


Good Post

I like this type of post. this type of post people like too much...

Shopping in Dubai


Nice blog and absolutely

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best.

Indian Super League and knock out tournament Live fixtures, time table and results Isl 2017 standings - http://isl2017.in/


All Indian SSC(10th) Results

All Indian SSC(10th) Results publishing here ssc result 2017 and all HSC(12th) publishing here hsc result 2017also all inermediate results here intermediate result 2017


Incredible Article it its

Incredible Article it its truly useful and imaginative update us as often as possible with new upgrades. its was truly profitable. much appreciated.
Maharashtra Board publishing 10th result and 12th here ssc result 2017 maharashtra - http://mahsscresult.in/


This is a great post. I like

This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.

KSEEB Board 12th result publish in www.pue.kar.nic.in - http://www.pue-kar-nic.in/
CBSE Board relese 10th and 12th cbse results on cbse 10th result - http://cbseresult-nic.co.in/


Shopping in Dubai

Thefemall are your one point destination for all products of women online. We, at TheFeMall.com, aim at providing everything and anything that a woman would ever need to buy.


backlinks

My partner and I absolutely

My partner and I absolutely love your blog and find many of your post’s to be just what I’m looking for. Does one offer guest writers to write content for you personally? I wouldn’t mind writing a post or elaborating on a lot of the subjects you write in relation to here. Again, awesome site 192.168.1.1 192.168.1.1 192.168.1.1 192.168.1.1


blthuong

I can’t help but fall in love with the place. Thank you so much for a wonderful post.
zoxy 2 free game
friv 5 very
yoob firv
agario.org
friv 10
slitherio kizi
I can’t help but fall in love with the place. Thank you so much for a wonderful post.
kizi agario
slitherio online
friv4school best game
bloxorz
motox3m Have fun
kizi 100
Go to link and play free 505 pro game: action game - frozen game - io game- racing game-Girl game - shoot game - Girl game - puzzle game ....


Post new comment

More information about formatting options