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.

MSM Multiple Site Manager - A PHP Error was encountered

July 26, 2012 5:43am

Subscribe [2]
  • #1 / Jul 26, 2012 5:43am

    asidua

    14 posts

    Hi

    I have just upgraded to EE 2.5.2 and installed the Multiple Site Manager 2.1.3 add-on.

    However when I try to create new site, on the left hand side where are all the template names usually are (under channels in EE2) I get the following error…

    ####################################################################

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined property: stdClass::$site_label

    Filename: sites/edit_form.php

    Line Number: 67

    ####################################################################

    I am unable to even try running the new site creation process as the page stops underneath the file upload preferences title with no more options, buttons or dropdowns.

    I had the Multiple site manager running fine in IE 1.7 but not sure as to what the problem might be?

    Anyone got any ideas that I could try?

    Thanks

     

  • #2 / Jul 26, 2012 6:02am

    asidua

    14 posts

    Line #67 on the edit_form.php file is…

    <?=$channel->site_label.NBS.’-’.NBS.$channel->channel_title?>


    and at the top of the page in Multiple site manager area EE the following error is listed

    Fatal error: Call to a member function result() on a non-object in .../expressionengine/views/sites/edit_form.php on line 80

    Line #80 on the same form is…

    <?php foreach($upload_directories->result() as $upload):?>

  • #3 / Jul 27, 2012 2:24pm

    Kevin Smith

    4784 posts

    Hi asidua,

    Sounds like there are probably a few things going on here. I think the quickest way we can get you set up is to have a first-hand look at things. Be on the lookout for an email from me.

  • #4 / Jul 30, 2012 3:02pm

    Dan Decker

    7338 posts

    Hi asidua,

    I hope you had a wonderful weekend!

    You should have received and email from us requesting additional info. Do you still need help?

    I look forward to your reply!

    Cheers,

  • #5 / Aug 03, 2012 1:14pm

    asidua

    14 posts

    Hi Dan & Kevin

    Thanks for the help and sorry for the slow reply!

    We ran the upgrade wizard again to update the site to 2.5.2 and then reinstalled the multiple site manager again and both look to be working

    Thanks for you help! Always nice to see a community that’s willing to help out!

  • #6 / Aug 03, 2012 4:42pm

    Kyle Cotter

    730 posts

    Hey asidua,

    Glad to see attempting the upgrade again lead to you finding a resolution.

    If you have any more questions, feel free to start a new thread.

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases