Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Call to a member function get_site_theme() on a non-object i

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Call to a member function get_site_theme() on a non-object i

Postby mertksk » Mon Nov 12, 2012 12:52 am

A PHP Error was encountered
Severity: Notice
Message: Undefined property: Portal::$licosys
Filename: libraries/Language.php
Line Number: 79

Fatal error: Call to a member function get_site_theme() on a non-object in /home/w327/domains/xxxxx.com/public_html/base/libraries/Language.php on line 79

line 79 is:
if (file_exists('themes/'.$CI->licosys->get_site_theme().'/i18/'.$idiom.'/'.$langfile))
mertksk
New php-forum User
New php-forum User
 
Posts: 1
Joined: Mon Nov 12, 2012 12:47 am

Re: Call to a member function get_site_theme() on a non-obje

Postby seandisanti » Tue Nov 13, 2012 9:44 am

yep, that's an error. looks like Language.php references a nonexistent $licosys property of the Portal class.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.