Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
I've just started with using Couch and it has been very straight-forward so far. When I went to implement nested pages on my index.php page,the index.php page still showed normally in the browser. The problem came when I when to the admin panel, it returned:

Fatal error: Call to a member function get_data() on null in C:\xampp\htdocs\couch\edit-pages.php on line 981

I did some investigating and the get_data() on null is referenced in the following code:

Code: Select all
   // create a group for 'k_pointer_link', 'k_masquerades' and 'k_strict_matching'
            $arr_fields[ '_pointer_fields_' ] = array(
                'no_wrapper'=>'1',
                'content'=>"<cms:render 'group_pointer_fields' />",
                'hide'=>( $PAGE->_fields['k_is_pointer']->get_data() ) ? 0 : 1,
                'order'=>30,
            );


What would cause this fatal error? I never made changes to the edit-pages.php file, so I'm confused as to how the error occurred in the first place. I apologize if I'm missing something that is blatantly obvious, and thanks for the help in advance!
Hi,

Could you please PM me your index.php template that is displaying this problem?
I'll try to replicate the issue on my setup.

Thanks.
I realized I had a syntax error in how I called clonable. Thank you for your offer to help !
You are welcome :) I am glad you could rectify the problem yourself.
4 posts Page 1 of 1
cron