Buy your loved one the ultimate gift. Lifetime gift certificates are $100 off.

BarthFox

Experience

300

0 Best Reply Awards

  • Member Since 5 Months Ago
  • 0 Lessons Completed
  • 0 Favorites

29th August, 2017

BarthFox left a reply on ErrorException Trying To Get Property Of Non-object • 3 months ago

ok with dd on under $status I got this:

Status {#252 ▼
  #table: "statuses"
  #fillable: array:2 [▼
    0 => "student_id"
    1 => "class_id"
  ]
  #primaryKey: "status_id"
  +timestamps: false
  #connection: "mysql"
  #keyType: "int"
  +incrementing: true
  #with: []
  #withCount: []
  #perPage: 15
  +exists: true
  +wasRecentlyCreated: false
  #attributes: array:40 [▼
    "status_id" => 3
    "student_id" => 2
    "class_id" => 3
    "first_name" => "NGOMTANOUBA"
    "last_name" => "Barthelemy"
    "sex" => 0
    "dob" => "1993-08-24"
    "email" => "[email protected]"
    "rac" => "Sara"
    "status" => 0
    "nationality" => "Tchad"
    "national_card" => "45"
    "passport" => "65"
    "phone" => "62807096"
    "village" => null
    "commune" => null
    "district" => null
    "province" => null
    "current_address" => "IAI"
    "dateregistered" => "2017-08-24"
    "user_id" => 4
    "photo" => "94649.2017-08-24.1503566633.jpg"
    "academic_id" => 3
    "level_id" => 1
    "shift_id" => 1
    "time_id" => 1
    "group_id" => 1
    "batch_id" => 1
    "start_date" => "2017-08-01"
    "end_date" => "2017-08-24"
    "active" => 1
    "academic" => "2016-2017"
    "shift" => "Matinee"
    "time" => "10h"
    "groups" => "PremierGroup"
    "batch" => "1"
    "program_id" => 1
    "level" => "MIAGE-I"
    "description" => "pour les designs"
    "program" => "Photoshop"
  ]
  #original: array:40 [▼
    "status_id" => 3
    "student_id" => 2
    "class_id" => 3
    "first_name" => "NGOMTANOUBA"
    "last_name" => "Barthelemy"
    "sex" => 0
    "dob" => "1993-08-24"
    "email" => "[email protected]"
    "rac" => "Sara"
    "status" => 0
    "nationality" => "Tchad"
    "national_card" => "45"
    "passport" => "65"
    "phone" => "62807096"
    "village" => null
    "commune" => null
    "district" => null
    "province" => null
    "current_address" => "IAI"
    "dateregistered" => "2017-08-24"
    "user_id" => 4
    "photo" => "94649.2017-08-24.1503566633.jpg"
    "academic_id" => 3
    "level_id" => 1
    "shift_id" => 1
    "time_id" => 1
    "group_id" => 1
    "batch_id" => 1
    "start_date" => "2017-08-01"
    "end_date" => "2017-08-24"
    "active" => 1
    "academic" => "2016-2017"
    "shift" => "Matinee"
    "time" => "10h"
    "groups" => "PremierGroup"
    "batch" => "1"
    "program_id" => 1
    "level" => "MIAGE-I"
    "description" => "pour les designs"
    "program" => "Photoshop"
  ]
  #casts: []
  #dates: []
  #dateFormat: null
  #appends: []
  #events: []
  #observables: []
  #relations: []
  #touches: []
  #hidden: []
  #visible: []
  #guarded: array:1 [▼
    0 => "*"
  ]
}

BarthFox left a reply on ErrorException Trying To Get Property Of Non-object • 3 months ago

after adding dd($status) under $status line i get this:

 FatalErrorException

syntax error, unexpected '$programs' (T_VARIABLE)
in FeeController.php (line 100)

BarthFox started a new conversation ErrorException Trying To Get Property Of Non-object • 3 months ago

Hi here I got these following errors:

at HandleExceptions->handleError(8, 'Trying to get property of non-object', 'C:\wamp64\www\gesetud\app\Http\Controllers\FeeController.php', 99, array('viewName' => 'fee.payment', 'student_id' => '4', 'feetypes' => object(Collection), 'status' => null))in FeeController.php (line 99)

at FeeController->payment('fee.payment', '4')in FeeController.php (line 124)

when using this Route Route::get('/etudiant/aller/a/payement/{student_id}',['as'=>'goPayment','uses'=>'[email protected]']);

here the 'goPayment' method line 124:

public function goPayment($student_id) { return $this->payment('fee.payment',$student_id); }

And here line 99 is $programs=Programme::where....:

public function payment($viewName,$student_id) { $feetypes = FeeType::all(); $status = $this->student_status($student_id); $programs = Programme::where('program_id',$status->program_id)->get(); $levels = Niveau::where('program_id',$status->program_id)->get(); $studentfee = $this->show_school_fee($status->level_id)->first(); $readStudentFee = $this->read_student_fee($student_id)->get(); $readStudentTransaction = $this->read_student_transaction($student_id)->get(); $receipt_id = ReceiptDetail::where('student_id',$student_id)->max('receipt_id'); return view($viewName,compact('programs', 'levels', 'status', 'studentfee', 'receipt_id', 'readStudentFee', 'readStudentTransaction', 'feetypes')) ->with('student_id',$student_id);

24th July, 2017

BarthFox started a new conversation Php Artisan Migrate Exceding Migration Table • 4 months ago

Hello i have in seeds just two files : RolesTableSeeder.php and UsersTableSeeder. when i run migration,my CLI looks like this Migration table created successfully. Migrating: 2014_1012_100000create_password_resets_table Migrated: 2014_1012_100000create_password_resets_table Migrating: 201707_24090639_create_roles_table Migrated: 201707_24090639_create_roles_table Migrating: 2017_07_24_101049_create_user_table Migrated: 2017_07_24_101049_create_user_table i see in my database a table like userss with two s. what does it mean

24th June, 2017

BarthFox left a reply on Migration Error • 5 months ago

it was a problem my routes' ...unexpected coma but now when do php artisan migrate the migration table and password_resets that i can see in my database but roles and users table.

23rd June, 2017

BarthFox left a reply on Migration Error • 5 months ago

Ok @quickliketurtle here is my codes:

FOR USERS

22nd June, 2017

BarthFox started a new conversation Migration Error • 5 months ago

Hello ! i come just to create the role and the user tables and when i do the migration with php artisan migrate my local page responss like this: Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'

Someone can help me?

16th June, 2017

BarthFox left a reply on ClaClass 'Html' Not Found (View: C:\laragon\www\Laragon\resources\views\layouts\master.blade.php) • 5 months ago

Your right @Snapey it's like a shortcut of this link ...no problem thanks but if i can get a solution it's better too

BarthFox left a reply on ClaClass 'Html' Not Found (View: C:\laragon\www\Laragon\resources\views\layouts\master.blade.php) • 5 months ago

Thanks @Snapey for your suggestion. (y)

Accept anothers response.

BarthFox left a reply on ClaClass 'Html' Not Found (View: C:\laragon\www\Laragon\resources\views\layouts\master.blade.php) • 5 months ago

and when i refresh http://myproject.dev it shows me : (1/1) FatalThrowableError

Class 'Collective\Html\HtmlServiceProvider' not found

BarthFox left a reply on ClaClass 'Html' Not Found (View: C:\laragon\www\Laragon\resources\views\layouts\master.blade.php) • 5 months ago

When i run composer update it return this error: Nothing to install or update Package illuminate/html is abandoned, you should avoid using it. Use laravelcollective/html instead.

even the composer require "laravelcollective/html":"^5.4.0"

I am using laravel 5.4.25

BarthFox started a new conversation ClaClass 'Html' Not Found (View: C:\laragon\www\Laragon\resources\views\layouts\master.blade.php) • 5 months ago

Hello! I am starting a new project in Laravel via Laragon I create in views' folder layouts for my project in wich i have i a file named master.blade.php Then in the head of the current master.blade.php i include my assets by this line : {!!Html::style('css/bootstrap.min.css')!!} And i the routes folder i specified in the web.php this lline: Route::get('/dashboard', function () { return view('layouts.master'); });

when i started 'http://myproject.dev i can access to index wiews but not in "http://myprojetc.dev/dashboard " i get this error

Class 'Html' not found (View: C:\laragon\www\Laragon\resources\views\layouts\master.blade.php)

Someone can help me?

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.