PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 7, 2022

[FIXED] I get this error when delete object in nested in nestedset in laravel8

 January 07, 2022     laravel, nested-sets, php     No comments   

Issue

i get this error when delete object in nested in nestedset in laravel

"Declaration of Kalnoy\Nestedset\BaseRelation::getRelationCountHash() should be compatible with Illuminate\Database\Eloquent\Relations\Relation::getRelationCountHash($incrementJoinCount = true)


Solution

Not compatible to Laravel v8.17.0 https://github.com/lazychaser/laravel-nestedset/issues/479

Fork with fix https://github.com/lazychaser/laravel-nestedset/pull/478#issuecomment-737104992



Answered By - Dmitry Skibitsky
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing