Just upgraded to 4.26, now getting this error from run-periodic-tasks:
(in cleanup) Can't call method "registry" on an undefined value at lib/MT/Component.pm line 558 during global destruction.
I've tried a clean upgrade, leaving only the database and config file intact, and still getting the same message.
No idea where to start looking for an answer.
Reported on Movable Type 4.2
(in cleanup) Can't call method "registry" on an undefined value at lib/MT/Component.pm line 558 during global destruction.
Oh yes, I have had a few dozen of those cron error messages sent to me in the 24 hours since I upgraded to 4.26
I am running Movable Type Pro, and my host is TotalChoice Hosting.
I've already reported this as bug #100815.
I`m having the same issue, everyting seems to be working alright though. It is just annoying to receive all those messages.
Indeed it is, since my cron runs every 5 minutes and sends me an email each time!
I'm trying to upgrade a blog with about 300,000 comments in it from 3.33 to 4.26, and I'm seeing some very worrying things. I had done a trial upgrade to 4.25 earlier in the week, and that worked fine. I'm trying 4.26 now because some of the category names have spaces and the word "and" in them, and that was problematic in 4.25.
Some of this issues I'm seeing: mt-check.cgi takes over a minute to execute; mt-comments.cgi takes over a minute to execute; dashboard takes over a minute to execute.
In all cases, the page renders almost completely, but it it takes a long time to finalize.
I saw the "Can't call method "registry" on an undefined value at lib/MT/Component.pm line 558 during global destruction." message when I ran the tools/upgrade script. My perl is not good enough to track down the problem in code, but the fact that is refers to something happening in "global destruction" makes me wonder if there is something strange happening right at the end of a page load.
I'm still investigating and trying to come up with a consistent repro case.
Actually, it's looking like at least some of the performance problems I'm seeing are server-specific, rather than specific to 4.26.
I've written another post over here: http://forums.movabletype.org/2009/06/mt-checkcgi-performance-problem.html
The problem with mt-check.cgi eating all available resources happens both in 3.33 and 4.26. The mt-comments.cgi script only appears to behave like this in 4.26.
Investigation ongoing.
Add me to the annoying error message:
Can't call method "registry" on an undefined value at lib/MT/Component.pm line 558 during global destruction.
I see from the release notes of 4.261 that this error has been fixed.
So I'm off to upgrade!