Skip to content

Tag: laravel

How to perform upgrade on bagisto with laravel 5.6

I’m running laravel bagisto ecommerce…I upgraded laravel from 5.6 to 6, the upgrade went successfully but it complaining about member function get() on null. Answer i have a project using bagisto too and tried to update the laravel to 6, but consider this big project to be broken while doing a maj…

xml sitemap Error class PageContext in laravel

I am making some site map for my site its is work correctly, but at now I have some problem in my sitemap I get error: new (class PageContext { constructor(clientKey) { this.client = window[Symbol.for(clientKey)]; this.bindEvents(); } bindEvents() { const self = this; history.pushState = (f => function pus…

How to insert emojis in MySQL using Laravel?

My MySQL DB collation is: utf8mb4_unicode_ci As shown below: However when I try to insert it in the table using Laravel – it throws the following error: And this is the store method in my Controller: UPDATE Here is a picture of the challenges table config: Answer This is more of a Database and migration…