• Resolved jonahcoyote

    (@jonahcoyote)


    Hi there,

    I’m seeing a PHP error all of a sudden on my site:

    PHP Fatal error: Call to a member function get() on null in /wp-content/plugins/tablepress/classes/class-controller.php on line 89

    Any idea why that might be?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jonahcoyote

    (@jonahcoyote)

    I got around this by hard coding: TablePress::$model_options->get( ‘plugin_options_db_version’ )

    I’m also seeing a bunch of other related errors where $model_options->get is trying to get values and I’ve hard coded those too to get around the errors for now without deactivating the plugin.

    It’s weird though, because it looks like these values are set. It’s just that the plugin can’t get them… Do you think it’s permissions related?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I assume that something is being loaded too early. Usually, this is caused by another plugin interfering. Can you therefore please try again after temporarily deactivating all other plugins and after switching to a WordPress default theme like Twenty Sixteen? That way, we can find what’s causing this.

    Regards,
    Tobias

    Thread Starter jonahcoyote

    (@jonahcoyote)

    Hey Tobias,

    Sorry for the delay in getting back to this. I’ve got the same issue again and if I deactivate the Ajax Search Pro plugin from CodeCanyon I do not get this error. I’m running the latest version of both your plugin and Ajax Search Pro, and the latest version of WordPress.

    Please let me know if you’d like a copy of the plugin to help test this.

    Thanks!
    – Jonah

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    this sounds as if they are loading some files too early then. Unfortunately, I don’t really know how to debug this, as I would not be familiar with their code, even if I had a copy of the plugin ??
    They should make sure to only run their code on pages where they are not interfering with other plugins.

    Regards,
    Tobias

    Thread Starter jonahcoyote

    (@jonahcoyote)

    Hey Tobias,

    Right on. I’ll make a report to them and see if they do anything.

    Thanks,
    Jonah

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Jonah,

    thanks, that would be great! If you find that a change in TablePress is necessary, please let me know. Thanks!

    Best wishes,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error’ is closed to new replies.