• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Trying to get property 'name' of non-object

General Discussion
2
2
961
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Rise last edited by 21 Oct 2019, 15:15

    Im following the devdocs but i get stuck before step 10, I can't visualize the master layout when creating my hello world package. this is my error.

    Trying to get property 'name' of non-object (View: /home/r/bagisto/packages/Webkul/Admin/src/Resources/views/layouts/nav-top.blade.php) (View: /home/r/bagisto/packages/Webkul/Admin/src/Resources/views/layouts/nav-top.blade.php) (View: /home/r/bagisto/packages/Webkul/Admin/src/Resources/views/layouts/nav-top.blade.php)

    and this is my helloworld.blade.php

    @extends('admin::layouts.master')

    {{ __('helloworld::app.hello-world.name') }}

    <h1>Hello World</h1>

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by 22 Oct 2019, 06:54

      Hi @Rise

      Don't use @extends('admin::layouts.master') file as it used for only login admin users, so when you are not login to your system, above error will appear.

      Thanks

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post