Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EE 2.6 compatibility #2

Open
tciny opened this issue Apr 28, 2013 · 1 comment
Open

EE 2.6 compatibility #2

tciny opened this issue Apr 28, 2013 · 1 comment

Comments

@tciny
Copy link

tciny commented Apr 28, 2013

Attempting to install the module in EE 2.6 yields the following error:

A PHP Error was encountered
Severity: Notice
Message: Undefined property: Addons_modules::$channel_model
Filename: rsvp/mcp.rsvp.php
Line Number: 105

Fatal error: Call to a member function get_channel_info() on a non-object in /var/www/system/expressionengine/third_party/rsvp/mcp.rsvp.php on line 105

@amacneil
Copy link
Member

Can you try changing line 29 of mcp.rsvp.php from

$this->EE->load->model('rsvp_model');

to

$this->EE->load->model(array('rsvp_model', 'channel_model'));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants