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:
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!
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!