Help - Search - Members - Calendar
Full Version: v3.1 Can't access categories
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
shiva7663
Object.pm line 87 gets the error:

QUOTE
Can't use string ("MT::Category") as a HASH ref while "strict refs" in use


when I click on the Categories button in the "Manage" sidebar on the left of the main weblog editing screen. So, I can't edit or even look at my Categories list.

Note: this problem wasn't fixed in the v3.11 upgrade.
jamesbow
I have encountered this same error. Is there any reason for this bug, or a possible workaround? It's a major inconvenience.
shiva7663
CODE
sub column {
   my $obj = shift;
   my($col, $value) = @_;
   return unless defined $col;
   $obj->{'column_values'}->{$col} = $value if defined $value;
   $obj->{'column_values'}->{$col};
}

From object.pm, the longest line is the one that bugs out. Don't know why; perl has changed a lot since I used it to create a pre-eBay personal auction database. heh.
jamesbow
Any solutions or workarounds to this whatsoever? This is proving to be a debilitating bug for my blog.

It also appears to be a database problem, as it affects all blog installations covered by that database.

...James
shiva7663
I still get this error with version 1.312. Someone please talk to me about this problem. I can't get to my Categories because of it.
shelley
Do either of you have the Subcategories plugin installed in your plugins folder, or were you using it prior to upgrading?

I'll file a bug report to see if I can find anything out about this.
shiva7663
I have a couple of tar.gz files in the plugin directory, but they haven't been opened to place the .pl files in that directory, so, nope.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.