pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.69k stars 1.7k forks source link

Call to undefined method Pterodactyl\Models\User::toVueObject() (View: /var/www/pterodactyl/resources/views/templates/wrapper.blade.php) #3928

Closed Thomascap closed 2 years ago

Thomascap commented 2 years ago

Current Behavior

I just did a v2 install only I ran into a bugg because the panel doesn't work when you turn on laravel debug mode which shows this error: Call to undefined method Pterodactyl\Models\User::toVueObject() (View: /var/www/pterodactyl/resources/views/templates/wrapper.blade.php).

Expected Behavior

This error ensures that no page works, this ensures that you can no longer do anything on the panel

Steps to Reproduce

This problem is very easy to solve by adding a piece of code from earlier versions:

you have to go under public static function getRules() { } and add this /**

Panel Version

2

Wings Version

N/A

Games and/or Eggs Affected

N/A

Docker Image

N/A

Error Logs

http://bin.ptdl.co/uf4j7

Is there an existing issue for this?

Jelcoo commented 2 years ago

v2 isn't finished yet, so any error you encounter is not a problem since it will probably be fixed when Mathew continues development