Advertisement
jacobgraf

Craft - Fields’ isEmpty() method has been deprecated.

Apr 29th, 2019
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. 28 Deprecation error: Fields’ isEmpty() method has been deprecated. Use isValueEmpty() instead.
  2. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/base/Field.php:340
  3. 27 craft\ckeditor\Field::isValueEmpty(Twig\Markup, craft\elements\MatrixBlock)
  4. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/base/Element.php:1123
  5. 26 craft\elements\MatrixBlock::isFieldEmpty("paragraphBody")
  6. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/base/Element.php:853
  7. 25 craft\elements\MatrixBlock::__call("isFieldEmpty:paragraphBody", [Twig\Markup])
  8. 24 call_user_func([craft\elements\MatrixBlock, "isFieldEmpty:paragraphBody"], Twig\Markup)
  9. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/validators/Validator.php:465
  10. 23 yii\validators\RequiredValidator::isEmpty(Twig\Markup)
  11. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/validators/RequiredValidator.php:71
  12. 22 yii\validators\RequiredValidator::validateValue(Twig\Markup)
  13. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/validators/Validator.php:302
  14. 21 yii\validators\RequiredValidator::validateAttribute(craft\elements\MatrixBlock, "field:paragraphBody")
  15. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/validators/Validator.php:257
  16. 20 yii\validators\RequiredValidator::validateAttributes(craft\elements\MatrixBlock, ["field:paragraphBody"])
  17. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/base/Model.php:367
  18. 19 craft\elements\MatrixBlock::validate()
  19. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/fields/Matrix.php:571
  20. 18 craft\fields\Matrix::validateBlocks(craft\elements\Entry, null)
  21. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/base/Element.php:1105
  22. 17 craft\elements\Entry::validateCustomFieldAttribute("field:pageContent", [craft\fields\Matrix, "validateBlocks", null], yii\validators\InlineValidator)
  23. 16 call_user_func([craft\elements\Entry, "validateCustomFieldAttribute"], "field:pageContent", [craft\fields\Matrix, "validateBlocks", null], yii\validators\InlineValidator)
  24. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/validators/InlineValidator.php:72
  25. 15 yii\validators\InlineValidator::validateAttribute(craft\elements\Entry, "field:pageContent")
  26. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/validators/Validator.php:257
  27. 14 yii\validators\InlineValidator::validateAttributes(craft\elements\Entry, ["field:pageContent"])
  28. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/base/Model.php:367
  29. 13 craft\elements\Entry::validate()
  30. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/services/Elements.php:429
  31. 12 craft\services\Elements::saveElement(craft\elements\Entry)
  32. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/controllers/EntriesController.php:540
  33. 11 craft\controllers\EntriesController::actionSaveEntry()
  34. 10 call_user_func_array([craft\controllers\EntriesController, "actionSaveEntry"], [])
  35. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/base/InlineAction.php:57
  36. 9 yii\base\InlineAction::runWithParams(["parentId" => "34"])
  37. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/base/Controller.php:157
  38. 8 craft\controllers\EntriesController::runAction("save-entry", ["parentId" => "34"])
  39. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/web/Controller.php:109
  40. 7 craft\controllers\EntriesController::runAction("save-entry", ["parentId" => "34"])
  41. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/base/Module.php:528
  42. 6 craft\web\Application::runAction("entries/save-entry", ["parentId" => "34"])
  43. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/web/Application.php:297
  44. 5 craft\web\Application::runAction("entries/save-entry", ["parentId" => "34"])
  45. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/web/Application.php:561
  46. 4 craft\web\Application::_processActionRequest(craft\web\Request)
  47. Called from /Users/jacobgraf/Sites/getconnected/vendor/craftcms/cms/src/web/Application.php:281
  48. 3 craft\web\Application::handleRequest(craft\web\Request)
  49. Called from /Users/jacobgraf/Sites/getconnected/vendor/yiisoft/yii2/base/Application.php:386
  50. 2 craft\web\Application::run()
  51. Called from /Users/jacobgraf/Sites/getconnected/web/index.php:21
  52. 1 require("/Users/jacobgraf/Sites/getconnected/web/index.php")
  53. Called from /Users/jacobgraf/.composer/vendor/laravel/valet/server.php:158
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement