ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Upgrade from 1.6.9 to 2.5.0 completes successfully but site shows PHP error

May 17, 2012 12:11pm

Subscribe [2]
  • #1 / May 17, 2012 12:11pm

    timharris

    1 posts

    Hi,

    I have upgraded our site from 1.6.9 to 2.5.0.  Thing complete successfully and I can log into the backend, which appears fine.  However, when I try to view the front end, I see this:

    A PHP Error was encountered

    Severity: Notice

    Message: Channel::parse_related_entries(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition “DB_Cache” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition

    Filename: channel/mod.channel.php

    Line Number: 438
    Fatal error: Channel::parse_channel_entries(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition “DB_Cache” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /www/eh20796/public_html/system/expressionengine/modules/channel/mod.channel.php on line 3356

    I have restored to the old database and retried the upgrade, but ended with the same result.

  • #2 / May 17, 2012 12:38pm

    timharris

    1 posts

    Aha!  I cleared the caches as directed here (http://ellislab.com/forums/viewthread/172390/) and it did the trick.

  • #3 / May 18, 2012 1:42pm

    Shane Eckert

    7174 posts

    Hi Tim,

    Glad to hear it! Nice work.

    If you need anything else, please just let us know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases