Welcome Guest, Not a member yet? Register   Sign In
Non-static method Pages::view() cannot be called statically
#5

(This post was last modified: 09-01-2016, 11:40 AM by InsiteFX.)

You need a __construct() method in your controller, if you are extending another class you always use a constructor to access the constructor of the other class.

Also make sure that you add the routes.

If that does not fix it then you have other problems.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Non-static method Pages::view() cannot be called statically - by InsiteFX - 09-01-2016, 11:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB