Closed gburu98-zz closed 7 years ago
I needed the \Orientdb in the model, but now I have another error:
Which Laravel version you are using ?
I am using, Laravel 5.2.31
This is also my issue now. I don't know why. We have the same issue with gburu98. At first I also have that processInsertGetId issue but then I just changed it to "extends \Orientdb" and everything went well. But then this simplePaginate becomes the new issue. Any help guys?
Ok, so I already solved it! I'm using windows and my laravel version is 5.3 (it also works on version 5.2)
Go to this file: vendor\sgpatil\oriquent\src\Sgpatil\Orientdb\Eloquent\Builder.php Line: 371 paste the code below
public function simplePaginate($perPage = null, $columns = ['*'], $pageName = 'page', $page = null)
So basically, what I did was to add the $page=null on the parameter. Hope this helps anyone
Closing this as the issue has been resolved in latest release.
Which may be the source of this error?
![route](https://cloud.githubusercontent.com/assets/12548796/18445205/d7a4fb70-78f2-11e6-91c3-63862b5135a9.png)
try $insertar->save() and return, and does not work...