user-pic

4.26 - Perl error

Vote 0 Votes

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

8 Replies

| Add a Reply
  • (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.

  • 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.

  • 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!

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012