PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Ninja Script error. After trying to modify categories

senpai

Jan 12th, 2018 08:35 PM

i get this error. http://prntscr.com/hznuwr

(3/3) QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'parent_id' in 'field list' (SQL: update categories set updated_at = 2018-01-12 21:35:04, parent_id = where id = 40)

in Connection.php (line 664) at Connection->runQueryCallback('update categories set updated_at = ?, parent_id = ? where id = ?', array('2018-01-12 21:35:04', null, 40), object(Closure)) in Connection.php (line 624) at Connection->run('update categories set updated_at = ?, parent_id = ? where id = ?', array('2018-01-12 21:35:04', null, 40), object(Closure)) in Connection.php (line 490) at Connection->affectingStatement('update categories set updated_at = ?, parent_id = ? where id = ?', array('2018-01-12 21:35:04', null, 40)) in Connection.php (line 423) at Connection->update('update categories set updated_at = ?, parent_id = ? where id = ?', array('2018-01-12 21:35:04', null, 40)) in Builder.php (line 2151) at Builder->update(array('updated_at' => '2018-01-12 21:35:04', 'parent_id' => null)) in Builder.php (line 778) at Builder->update(array('updated_at' => '2018-01-12 21:35:04', 'parent_id' => null)) in Model.php (line 613) at Model->performUpdate(object(Builder)) in Model.php (line 528) at Model->save() in Controller.php (line 105) at Controller->insertUpdateData(object(Request), 'categories', object(Collection), object(Category)) in VoyagerBreadController.php (line 235) at VoyagerBreadController->update(object(Request), '40') at call_user_func_array(array(object(VoyagerBreadController), 'update'), array(object(Request), 'category' => '40')) in Controller.php (line 54) at Controller->callAction('update', array(object(Request), 'category' => '40')) in ControllerDispatcher.php (line 45) at ControllerDispatcher->dispatch(object(Route), object(VoyagerBreadController), 'update') in Route.php (line 212) at Route->runController() in Route.php (line 169) at Route->run() in Router.php (line 658) at Router->Illuminate\Routing{closure}(object(Request)) in Pipeline.php (line 30) at Pipeline->Illuminate\Routing{closure}(object(Request)) in VoyagerAdminMiddleware.php (line 24) at VoyagerAdminMiddleware->handle(object(Request), object(Closure)) in Pipeline.php (line 149) at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request)) in DemoThemeSwitcher.php (line 30) at DemoThemeSwitcher->handle(object(Request), object(Closure)) in Pipeline.php (line 149)

idontgetit

Jan 13th, 2018 01:10 AM

Same problem here

senpai

Jan 13th, 2018 02:46 AM

Yeah im still waiting for someone to reply/fix this.

idontgetit

Jan 13th, 2018 08:51 PM

But the status says : SOLVED

senpai

Jan 13th, 2018 11:50 PM

it isn't solved though

devdojo

Jan 20th, 2018 02:36 AM

For the category issue you will need to add a new row in your categories table called parent_id which is a Type INT, and you can check the Allow NULL field. After doing this you should be good to go with the categories issue. I'm going to put a fix out for this in the latest version.

If you need assistance, please send me over your FTP info in a private message here: https://codecanyon.net/user/devdojo and I can help you get this fixed.

Thanks.