*

Jhom Gain

  • **
  • 8 posts
[Error] PHP 8 throwing depreciation error in Admin->Media
« on: April 17, 2022, 06:17:49 PM »
I recently upgraded my PHP to the latest version i.e v8.

When I visited admin panel -> Settings -> Media, I got Error 500.

Screenshot attached

unable to add links and errors details, as the forum is restricting me by stating -> "Sorry, you are not allowed to post external links.". Kindly refer to the screenshot.

Marked as best answer by frosticek on April 19, 2022, 10:04:30 AM
*

MB Themes

Re: [Error] PHP 8 throwing depreciation error in Admin->Media
« Reply #1 on: April 19, 2022, 07:50:49 AM »
PHP 8.1 is not yet compatible because libraries dependencies.

gd_info is available in all php versions, maybe you do not have gd extension installed.
https://www.php.net/manual/en/function.gd-info.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Jhom Gain

  • **
  • 8 posts
Re: [Error] PHP 8 throwing depreciation error in Admin->Media
« Reply #2 on: April 19, 2022, 08:30:06 AM »
On update to PHP 8.1, my hosting provider reset the PHP extensions to the default value.
Also, I installed Xampp with the fresh configuration without enabling the "gd" extension
I enabled the "gd" extension, it is working fine now.

I was blaming PHP 8.1 without digging deep into the issue. :p
Thanks for the reply, otherwise I was unable to figure out the issue.  :D
[solved]
« Last Edit: April 19, 2022, 08:38:49 AM by Jhom Gain »

*

MB Themes

Re: [Error] PHP 8 throwing depreciation error in Admin->Media
« Reply #3 on: April 19, 2022, 10:04:25 AM »
@Jhom
Glad to hear that ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots