• Resolved fethomm

    (@fethomm)


    Hi,

    just update ninja tables pro and got an error that locks me out of my backend:
    Fatal error: Uncaught Error: Call to undefined function ninja_table_admin_role() in /var/www/web9/htdocs/wp-content/plugins/ninja-tables-pro/src/libs/updater/NinjaTableUpdateChecker.php:70 Stack trace: #0 /var/www/web9/htdocs/wp-includes/class-wp-hook.php(286): NinjaTableUpdateChecker->init('') #1 /var/www/web9/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/web9/htdocs/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /var/www/web9/htdocs/wp-admin/admin.php(169): do_action('admin_init') #4 /var/www/web9/htdocs/wp-admin/index.php(10): require_once('/var/www/web9/h...') #5 {main} thrown in /var/www/web9/htdocs/wp-content/plugins/ninja-tables-pro/src/libs/updater/NinjaTableUpdateChecker.php on line 70

    Line 70 is: ` if(!ninja_table_admin_role()) {
    return false;
    }`
    What can I do to fix this?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shahjahan Jewel

    (@techjewel)

    Hello @fethomm,
    I think you did not install Ninja Tables Free version. You need to install both Ninja Tables and Ninja Tables Pro. Please install ninja tables first and then ninja tables pro. If you still have an issue please open a support ticket at https://wpmanageninja.com/support-tickets/

    Thread Starter fethomm

    (@fethomm)

    Hi Shahjahan,

    thanks for coming back to me. Both plugins are installed and were updated together a couple of days ago. Today just the pro version was offered for update to fix some bug of the version before (if I remember correctly). For now both plugins are deactivated. You still want me to open a bugreport under the other link?

    Plugin Author Shahjahan Jewel

    (@techjewel)

    Hello @fethomm,
    Just activate the Free Version First and then activate the pro version. Both plugin’s latest version is 3.4.3.
    Thanks

    Thread Starter fethomm

    (@fethomm)

    Thanks, that did the trick. Does that mean that if the free version was deactivated (which I did not do intentionaly) while I updated pro, that would have triggered the error?

    Plugin Author Shahjahan Jewel

    (@techjewel)

    Yah, You are right. In version 3.4.1 of Ninja Tables Pro, We have used a function that was declared in the free version that’s why the issue happened.
    We have fixed the issue in version 3.4.3 so it will never trigger the error.

    Thanks

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

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