Jump to content

PHP Fatal error: Uncaught Error: Class "IPS\\Dispatcher" not found. - Invision: 4.7.19, php: 8.3.16

Featured Replies

Posted

I am moving to a new webhost.

After uploading files, importing database and changed the conf_global I get errormessage "PHP Fatal error:  Uncaught Error: Class "IPS\\Dispatcher" not found".

5 minutes ago, bpn said:

I am moving to a new webhost.

After uploading files, importing database and changed the conf_global I get errormessage "PHP Fatal error:  Uncaught Error: Class "IPS\\Dispatcher" not found".

Ipb 4.7 isn't compatible with php versions above php 8.1. Additionally you can use the following tool to make sure that your new server meets all the necessary requirements for Ipb 4.7.

  • Author

It seems to be ok:

Skjermbilde 2025-01-29 kl. 13.21.30.png

  • Author

The ipv4.php script reported all is ok

Edited by bpn

11 minutes ago, bpn said:

It seems to be ok:

Skjermbilde 2025-01-29 kl. 13.21.30.png

Can you downgrade your php version anyway to 8.0. or 8.1. and see if it would help?

  • Author

yes. I think I can do that

The oldest php I have is 8.1.3

It's the same errormessage using 8.1.3

6 minutes ago, bpn said:

yes. I think I can do that

The oldest php I have is 8.1.3

It's the same errormessage using 8.1.3

What was the php version in your old server? Can you try to reupload all the files again in the off chance that some of the files weren't properly uploaded or got corrupted in the first place? Can you also check your server error log and see if there are any recent messages logged in there?

That looks to be like you are missing files

  • Author

Missing files Now it's working.😎

Thanks for assistanse - case closed

Glad to hear you got things working again

  • Author

Lesson learned:

Never trust the file uploader in plesk.

27 minutes ago, bpn said:

Lesson learned:

Never trust the file uploader in plesk.

Or any panel uploader generally. I would always advise using FTP

I usually upload a ZIP/TAR file and then decompress it through SSH or a control panel. It's the fastest option instead of uploading all files 1-by-1 through FTP. 😋

15 hours ago, teraßyte said:

I usually upload a ZIP/TAR file and then decompress it through SSH or a control panel. It's the fastest option instead of uploading all files 1-by-1 through FTP. 😋

I'm used to most users being aware how to use FTP but unaware how to use commands on SSH laugh . I actually do the same as yourself

I completely missed the PHP version in the title when I replied before:

Invision: 4.7.19, php: 8.3.16

Version 4.7 does NOT support PHP 8.2.0+. You can only use PHP 8.0 or 8.1. Try also downgrading the PHP version.

1 hour ago, teraßyte said:

I completely missed the PHP version in the title when I replied before:

Version 4.7 does NOT support PHP 8.2.0+. You can only use PHP 8.0 or 8.1. Try also downgrading the PHP version.

It's strange though that the requirement tool gave the green light for Ipb 4.7. and php 8.3, as per the op's reply to my previous post. Unless they had downgraded the php, but I saw no mention of that here.

I've already reported it as a bug a few times, but the checker script was never updated. It only checks for PHP 8.0+, it never throws an error for PHP 8.2+, which is what causes issues. 🤷‍♂️

2 minutes ago, teraßyte said:

I've already reported it as a bug a few times, but the checker script was never updated. It only checks for PHP 8.0+, it never throws an error for PHP 8.2+, which is what causes issues. 🤷‍♂️

I wasn't ware of the bug. Thank you for the clarification. That's a serious bug imo, as it gives false positives, as it was the case with the op here. Hopefully it will be fixed soon.

I just ran into issues upgrading from PHP 8.0 to 8.4 thinking it would be okay because of the verbiage on the download modal (see attachment). This is a bit misleading and should definitely be updated. Falling back to 8.1.x worked fine as explained in this thread.

image.png

Recently Browsing 0

  • No registered users viewing this page.