Title: Fatal error
Last modified: August 31, 2016

---

# Fatal error

 *  Resolved [heiland](https://wordpress.org/support/users/heiland/)
 * (@heiland)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1954/)
 * Hello!
    I cannot add custom columns. The plugin does not work at all. I get the
   following error Fatal error …plugins/codepress-admin-columns/classes/settings.
   php140
 * The code in line 140 in the settings.php is:
    $registered_columns = $storage_model-
   >get_registered_columns();
 * [https://wordpress.org/plugins/codepress-admin-columns/](https://wordpress.org/plugins/codepress-admin-columns/)
 * The console tells:
    Call to a member function get_registered_columns() on a non-
   object in …/codepress-admin-columns/classes/settings.php on line 140

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Stefan van den Dungen Gronovius](https://wordpress.org/support/users/dungengronovius/)
 * (@dungengronovius)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1954/#post-6929335)
 * Strange, this is not a known bug in the current release.
    I suspect that there
   is another plugin that conflicts with our plugin. Please can you disable all 
   plugins and see if our plugin works? If it works, please enable the other plugins
   one by one to see which plugin causes the problem. We will try to make a fix 
   if we know which plugin conflicts with ours.
 *  Thread Starter [heiland](https://wordpress.org/support/users/heiland/)
 * (@heiland)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1954/#post-6929337)
 * Thank you!
 * Yes, you are right. I’am working on a custom plugin which causes the problem.
   It’s too complex to explain.
    The plugin creates a custom post type. These are
   the arguments for the CPT: $args = array(); $args[‘labels’] = array(‘name’ =>‘
   E-Papers’, ‘singular_name’ => ‘E-Paper’); $args[‘public’] = false; $args[‘show_ui’]
   = true; $args[‘exclude_from_search’] = true; $args[‘has_archive’] = false; $args[‘
   menu_position’] = 4; $args[‘supports’] = array(‘title’,’editor’, ‘thumbnail’,‘
   author’); $args[‘rewrite’] = array(‘slug’ => ‘epapers’); $args[‘register_meta_box_cb’]
   = ‘add_epaper_meta_boxes’; Do you have a hint where I could start searching the
   error?
 *  Plugin Author [Stefan van den Dungen Gronovius](https://wordpress.org/support/users/dungengronovius/)
 * (@dungengronovius)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1954/#post-6929420)
 * Sorry but without any context I’m not able to help you with this question.
    If
   you like, I can take a quick look to your plugin to see where the problem lies.
   Please send me the package to [support@admincolumns.com](https://wordpress.org/support/topic/fatal-error-1954/support@admincolumns.com?output_format=md)
   addressed to me.
 * Stefan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/codepress-admin-columns/assets/icon.svg?rev=1521754)
 * [Admin Columns](https://wordpress.org/plugins/codepress-admin-columns/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codepress-admin-columns/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codepress-admin-columns/)
 * [Active Topics](https://wordpress.org/support/plugin/codepress-admin-columns/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codepress-admin-columns/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codepress-admin-columns/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Stefan van den Dungen Gronovius](https://wordpress.org/support/users/dungengronovius/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1954/#post-6929420)
 * Status: resolved