Welcome Guest, Not a member yet? Register   Sign In
create_links() making a fatal error
#1

[eluser]Märt[/eluser]
I'm trying to use paginate class but one function is causing a error. If I write a following thing: $this->paginate->create_links() then I get following error:
Fatal error: Call to a member function create_links() on a non-object in...
Everything else is working when I remove that line.

I use it in model:
$page = array('posts_listing' => $posts_page,
'make_links' => $this->paginate->create_links());

If more details are needed then I can give them. Hopefully someone can help me.

Thank You!


Messages In This Thread
create_links() making a fatal error - by El Forum - 01-06-2009, 11:31 AM
create_links() making a fatal error - by El Forum - 01-06-2009, 03:32 PM
create_links() making a fatal error - by El Forum - 01-07-2009, 12:40 PM
create_links() making a fatal error - by El Forum - 01-07-2009, 01:20 PM
create_links() making a fatal error - by El Forum - 01-07-2009, 02:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB