PHP 8.1 migration error

Hi
I have been using the ILLDY theme for years under debian 9 and PHP 7.3.
I reinstalled the site under debian bullseye and php8.1, but the illdy theme no longer works. I have the following error message

Fatal error : Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/jmge.eu/wp-admin/includes/class-wp-filesystem-ftpext.php:146 Stack trace: #0 /var/www/jmge.eu/wp-admin/includes/class-wp-filesystem-ftpext.php(146): ftp_fget() #1 /var/www/jmge.eu/wp-content/themes/illdy/inc/libraries/epsilon-framework/classes/output/class-epsilon-color-scheme.php(296): WP_Filesystem_FTPext->get_contents() #2 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(115): Epsilon_Color_Scheme::load_css_overrides() #3 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(70): Illdy->init_color_scheme() #4 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(60): Illdy->init_epsilon() #5 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(193): Illdy->__construct() #6 /var/www/jmge.eu/wp-content/themes/illdy/functions.php(468): require(‘…’) #7 /var/www/jmge.eu/wp-settings.php(566): include(‘…’) #8 /var/www/jmge.eu/wp-config.php(105): require_once(‘…’) #9 /var/www/jmge.eu/wp-load.php(50): require_once(‘…’) #10 /var/www/jmge.eu/wp-blog-header.php(13): require_once(‘…’) #11 /var/www/jmge.eu/index.php(17): require(‘…’) #12 {main} thrown in /var/www/jmge.eu/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146

Can you help me? and tell me which version of PHP I should use?

Thanks

Hi there

Php 8 or above is not yet supported, so, you need to use lower versions of PHP

Regards

Thanks for the information, I will install PHP 7.4.

Is the theme at the end of its life? or will the update be done soon?

thanks for the help

Hi there

No, we expect the update, but I cant say when it will be released.

Regrads

Hello

I will wait

Thank you for your reply

Thank you for understanding and have a good day

Regards

Hy
I allow myself to come back to you on this subject. I have plugins that currently require PHP8. Will the theme be updated, or should I look for another theme?

Thank you for your response

Hi there

I hope this email finds you well.

I would like to extend my sincere apologies for the inconvenience caused by the theme not being fully compatible with version 8.1.

Please be assured that our team is working diligently to update the theme to ensure full compatibility with version 8.1. We are committed to providing you with the best possible experience, and we appreciate your patience and understanding as we work towards this goal.

Regards

Good morning
What is the most recent version of PHP that is compatible with the theme?
Sincerely

Hello

PHP 7.6 should work fine with the latest theme version, could you please use it? Apologies for the inconvenience, we aim to resolve this issue soon.

Regards,

Hallo, my provider forced me to change to php 8.3. now i get this error massage on the landing page. How can i fix this? thanks. best regards. when will be a update released?

"Warning: The magic method Illdy_Entry_Meta_Output::__wakeup() must have public visibility in /home/.sites/126/site1634219/web/wp/wp-content/themes/illdy/inc/components/entry-meta/class-illdy-entry-meta-output.php on line 161 Warning: The magic method Illdy_Author_Box_Output::__wakeup() must have public visibility in /home/.sites/126/site1634219/web/wp/wp-content/themes/illdy/inc/components/author-box/class-illdy-author-box-output.php on line 50 Warning: The magic method Illdy_Related_Posts_Output::__wakeup() must have public visibility in /home/.sites/126/site1634219/web/wp/wp-content/themes/illdy/inc/components/related-posts/class-illdy-related-posts-output.php on line 65 "

Hallo, ich habe noch Details:

WordPress-Version 6.5.3
Aktives Theme: Illdy (Version 2.0.5)
Aktuelles Plugin: (Version )
PHP-Version 8.3.6

Fehler-Details

Ein Fehler vom Typ E_COMPILE_ERROR wurde in der Zeile 65 der Datei /home/.sites/126/site1634219/web/wp/wp-content/themes/illdy/inc/components/entry-meta/class-illdy-entry-meta-output.php verursacht. Fehlermeldung: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e)

Hi there,

I’m sorry to say that Illdy is not yet compatible with PHP 8.3. Unfortunately, we don’t have a solution for this issue at the moment. I can report the problem, but I can’t say when it will be fixed.

Regards,

Hi there,

Could we have any news about this php compatibility issue? It’s been going on for a long time now, although I understand that we can’t expect a very responsive service for a free theme but it would be good to let your users know if you abandon tracking this theme.

Regards

Hey there,

Accept my apologies, at this moment this is not possible but I hope we will fix this very soon.

Regards,

Hello,
After two years of waiting, the situation is becoming critical. Not only is the theme not compatible with PHP8, but since WordPress version 6.8, the Illdy Companion plugin has also started generating error messages.

Notice*: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the illdy-companion domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/jmge.eu/wp-includes/functions.php on line *6121

I understand that the theme will no longer be updated. Out of fairness to other users, it would be helpful to clearly state this so that we can prepare for migration.
I truly loved this theme and enjoyed working with your team — you’ve always been very responsive to my technical questions, which I found remarkable for a free theme.

I would love to continue working with you. Do you have a modern, actively maintained theme (even a paid one) similar to Illdy that you plan to support for several years? I would prefer not to rebuild my entire site. It’s a travel blog, summarizing over 20 years of travel with more than 300 photo galleries. Rebuilding it would take me months.

Please don’t leave us in the dark.

Best regards,

All PHP related errors are now fixed up to PHP 8.4+.
Make sure to update both Illdy companion plugin and the theme itself. Both are available on WordPress.org and via your admin dashboard.

Hello,
Thank you for updating the theme.

I updated the theme to v2.1.10 before migrating to a new server using PHP 8.4.7 and Maria DB 10.11.11-MariaDB-0+deb12u1 - Debian 12 and Apache/2.4.62 (Debian).

But I get the following message:
Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/jmge.eu/wp-admin/includes/class-wp-filesystem-ftpext.php:146 Stack trace: #0 /var/www/jmge.eu/wp-admin/includes/class-wp-filesystem-ftpext.php(146): ftp_fget() #1 /var/www/jmge.eu/wp-content/themes/illdy/inc/libraries/epsilon-framework/classes/output/class-epsilon-color-scheme.php(296): WP_Filesystem_FTPext->get_contents() #2 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(112): Epsilon_Color_Scheme::load_css_overrides() #3 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(67): Illdy->init_color_scheme() #4 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(57): Illdy->init_epsilon() #5 /var/www/jmge.eu/wp-content/themes/illdy/inc/class-illdy.php(190): Illdy->__construct() #6 /var/www/jmge.eu/wp-content/themes/illdy/functions.php(468): require(‘…’) #7 /var/www/jmge.eu/wp-settings.php(672): include(‘…’) #8 /var/www/jmge.eu/wp-config.php(111): require_once(‘…’) #9 /var/www/jmge.eu/wp-load.php(50): require_once(‘…’) #10 /var/www/jmge.eu/wp-blog-header.php(13): require_once(‘…’) #11 /var/www/jmge.eu/index.php(17): require(‘…’) #12 {main} thrown in /var/www/jmge.eu/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146

This is blocking the site. Do you have a solution?

Thanks in advance.

This looks like a filesystem error. Make sure your WordPress files have the correct permissions. Typically, directories should be 755 and files 644.

Another solution, however, not recommended, is this: if you know what filesystem you are using.

  1. Make sure proper filesystem access is configured in your wp-config.php

  2. Or use a different file access method than FTP

Add this to your wp-config.php file (before the “stop editing” line):

define('FS_METHOD', 'direct');

This tells WordPress to use direct file access instead of FTP, which should resolve the error if your server permissions allow direct file access.

Generally, this has to do with your access to files and not the theme itself. We can’t control this behaviour from our side.

Hello again

define(‘FS_METHOD’, ‘direct’); was already in my configuration file. And as a test, I set all my permissions to 777. The problem doesn’t occur when I’m on the Twenty Twenty-Five theme, but only when I switch to the ILLDY theme.