You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today i gave the v1.0 a spin but i get the following error: Fatal error: Uncaught Error: Class 'Timmy\Image' not found in /var/www/html/wp-content/plugins/timmy-1.0.0/lib/Timmy.php:161 Stack trace: #0 /var/www/html/wp-content/themes/yk/template-home.php(10): Timmy\Timmy::get_image(260, 'nocrop') #1 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...') #2 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #3 /var/www/html/index.php(17): require('/var/www/html/w...') #4 {main} thrown in /var/www/html/wp-content/plugins/timmy-1.0.0/lib/Timmy.php on line 161
I installed Timmy as a plugin without composer and initialized Timmy (simplified) as follows:
use Timmy\Timmy;
Timmy::init();
$image = Timmy::get_image(260, 'nocrop');
When taking a look at Timmy.php is see the following:
I’m sorry that I neglected the plugin version a bit.
I think you run into an error where Timmy doesn’t have an autoloader, which is handled through Composer even in the plugin version. But that isn’t loaded correctly yet. I’ll have to fix that.
Today i gave the v1.0 a spin but i get the following error:
Fatal error: Uncaught Error: Class 'Timmy\Image' not found in /var/www/html/wp-content/plugins/timmy-1.0.0/lib/Timmy.php:161 Stack trace: #0 /var/www/html/wp-content/themes/yk/template-home.php(10): Timmy\Timmy::get_image(260, 'nocrop') #1 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...') #2 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #3 /var/www/html/index.php(17): require('/var/www/html/w...') #4 {main} thrown in /var/www/html/wp-content/plugins/timmy-1.0.0/lib/Timmy.php on line 161
I installed Timmy as a plugin without composer and initialized Timmy (simplified) as follows:
When taking a look at Timmy.php is see the following:
The last line is line 161
Is there anything else i can try to debug this issue?
Timmy version: 1.0
Timber version: 1.22.1
The text was updated successfully, but these errors were encountered: