You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I am new to Laravel and I am deploying my website and is almost finished! The only problem is that I keep getting an undefined variable error in production but it works normally in local.
This is the code of the `CPU' component class.
the setID() method is being invoked in the blade file and looks like this.
It perfectly works locally and in the live server, it throws an error like this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I am new to Laravel and I am deploying my website and is almost finished! The only problem is that I keep getting an undefined variable error in production but it works normally in local.
This is the code of the `CPU' component class.
the
setID()
method is being invoked in the blade file and looks like this.It perfectly works locally and in the live server, it throws an error like this.

Beta Was this translation helpful? Give feedback.
All reactions