Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6092313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:25:41+00:00 2026-05-23T12:25:41+00:00

I have created a site with Pyro on my local server which is running

  • 0

I have created a site with Pyro on my local server which is running fine.

I’ve put it onto a staging server and it’s throwing an error in model.php in the Codeigniter system.

Severity: Notice

Message: Undefined property: Pages::$session

Filename: core/Model.php

Line Number: 50

At line 50 is

function __get($key)
{
    $CI =& get_instance(); //50
    return $CI->$key;
}

In the PHP error log though, it logs

Call to a member function set_flashdata() on a non-object in /var/www/vhosts/site/httpdocs/system/pyrocms/modules/modules/models/module_m.php 

The full output of the debug is below

DEBUG - 2011-07-01 11:19:00 --> Config Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Hooks Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Utf8 Class Initialized
DEBUG - 2011-07-01 11:19:00 --> UTF-8 Support Enabled
DEBUG - 2011-07-01 11:19:00 --> URI Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Router Class Initialized
DEBUG - 2011-07-01 11:19:00 --> File loaded: system/pyrocms/modules/pages/config/routes.php
DEBUG - 2011-07-01 11:19:00 --> No URI present. Default controller set.
DEBUG - 2011-07-01 11:19:00 --> Output Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Input Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Global POST and COOKIE data sanitized
DEBUG - 2011-07-01 11:19:00 --> Language Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Loader Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Config Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Loader Class Initialized
DEBUG - 2011-07-01 11:19:00 --> Config for dev environment is not found. Trying global config.
DEBUG - 2011-07-01 11:19:00 --> Config file loaded: system/pyrocms/config/asset.php
DEBUG - 2011-07-01 11:19:00 --> Config for dev environment is not found. Trying global config.
DEBUG - 2011-07-01 11:19:00 --> Config file loaded: system/pyrocms/config/language.php
DEBUG - 2011-07-01 11:19:00 --> Config for dev environment is not found. Trying global config.
DEBUG - 2011-07-01 11:19:00 --> Config file loaded: system/pyrocms/config/tags.php
DEBUG - 2011-07-01 11:19:00 --> Helper loaded: debug_helper
DEBUG - 2011-07-01 11:19:00 --> Helper loaded: url_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: form_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: text_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: string_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: language_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: asset_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: pagination_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: array_helper
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: gravatar_helper
DEBUG - 2011-07-01 11:19:01 --> File loaded: system/pyrocms/modules/comments/helpers/comments_helper.php
DEBUG - 2011-07-01 11:19:01 --> File loaded: system/pyrocms/modules/modules/helpers/module_helper.php
DEBUG - 2011-07-01 11:19:01 --> File loaded: system/pyrocms/modules/users/helpers/user_helper.php
DEBUG - 2011-07-01 11:19:01 --> Language file loaded: language/english/main_lang.php
DEBUG - 2011-07-01 11:19:01 --> Language file loaded: language/english/errors_lang.php
DEBUG - 2011-07-01 11:19:01 --> File loaded: system/pyrocms/modules/users/language/english/user_lang.php
DEBUG - 2011-07-01 11:19:01 --> Database config for dev environment is not found. Trying global config.
DEBUG - 2011-07-01 11:19:01 --> Database Driver Class Initialized
DEBUG - 2011-07-01 11:19:01 --> Model Class Initialized
DEBUG - 2011-07-01 11:19:01 --> Helper loaded: inflector_helper
DEBUG - 2011-07-01 11:19:01 --> File loaded: system/pyrocms/modules/modules/models/module_m.php
DEBUG - 2011-07-01 11:19:01 --> Model Class Initialized
DEBUG - 2011-07-01 11:19:01 --> File loaded: system/pyrocms/modules/modules/helpers/module_helper.php
ERROR - 2011-07-01 11:19:01 --> Severity: Notice  --> unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 167 of 1315 bytes /var/www/vhosts/site_here/httpdocs/system/pyrocms/modules/modules/models/module_m.php 191
ERROR - 2011-07-01 11:19:01 --> Severity: Notice  --> Undefined property: Pages::$session /var/www/vhosts/site_here/httpdocs/system/codeigniter/core/Model.php 50

I don’t know if this is a config issue on the server but these are core files which I’ve not changed.

Any ideas?

Ta.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:25:41+00:00Added an answer on May 23, 2026 at 12:25 pm

    Looks like a PyroCMS bug in some early versions that should have since been fixed. Upgrade perhaps?

    EDIT: the bug is occuring because the session variable is somehow not being set. I’d look for differences between the application/config/config.php and application/config/autoload.php files on the local server and the staging server: they must somehow handle the session setup differently.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a web application and site collection on a sharepoint server 2010
I have a site hosted on an Apache server. I have created some custom
I have a template based site which i have created using ASP. I have
I have created a site which has some roles. and each user can have
So I have created a Web Site Application project in VS2008 and is fine
I have signed up for office 365 which provides sharepoint site. I have created
Just starting out in asp.net. Have just created a login.aspx page in my site
I have created a PHP-script to update a web server that is live inside
I have created a site collection inside a web application with user A as
I have created a site-map using the following HTML: <ul class=main-menu> <li> <div> <a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.