Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

PHP Fatal error: Uncaught Error #42

Open
TheOnlyDGS opened this issue Nov 29, 2022 · 2 comments
Open

PHP Fatal error: Uncaught Error #42

TheOnlyDGS opened this issue Nov 29, 2022 · 2 comments

Comments

@TheOnlyDGS
Copy link

Trying to install the bot on my server but when I run the php pull.php command, I get the following errors:

PHP Fatal error: Uncaught Error: Class 'Message' was not found in ...src/model/context.php:107 Stack trace: #0 ...src/model/context.php(49): Context->reload() #1 ..src/msg_processing_cor.php(65): Context->_construct(Array) #2 ..src/pull.php(48): include('') #3 {main} thrown in ...src/model/context.php on line107
Can someone help me how to resolve these errors?

Thanks in advance.

@LorenzCK
Copy link
Member

Hello @TheOnlyDGS, sorry about the late reply. Were you able to fix the error? This looks like PHP is unable to load the Message class (in the message.php file). Are there other warnings or errors above? Which version of PHP are you using?

@TheOnlyDGS
Copy link
Author

TheOnlyDGS commented Jan 4, 2023

The php version is 7.4.30, not able to fix the error so stuck deploying it on my server.

The error screenshot is https://snipboard.io/VyuIcT.jpg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants