sayontan / suffusion

The Suffusion Theme for WordPress
GNU General Public License v3.0
28 stars 18 forks source link

I am not an expert #88

Open TexAafke opened 1 month ago

TexAafke commented 1 month ago

What should I do when this is the error?

Een fout van het type E_ERROR werd veroorzaakt op regelnummer 164 van het bestand /var/www/domains/aafkeprinsen.nl/www/wp-content/themes/suffusion/widgets/suffusion-query-posts.php. Foutmelding: Uncaught Error: Call to undefined function suffusion_get_image() in /var/www/domains/aafkeprinsen.nl/www/wp-content/themes/suffusion/widgets/suffusion-query-posts.php:164 Stack trace:

0 /var/www/domains/aafkeprinsen.nl/www/wp-includes/class-wp-widget.php(394): Suffusion_Category_Posts->widget(Array, Array)

1 /var/www/domains/aafkeprinsen.nl/www/wp-includes/widgets.php(2033): WP_Widget->display_callback(Array, Array)

2 /var/www/domains/aafkeprinsen.nl/www/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(697): wp_render_widget('suf-cat-posts-3', 'sidebar-13')

3 /var/www/domains/aafkeprinsen.nl/www/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(154): WP_REST_Widgets_Controller->prepare_item_for_response(Array, Object(WP_REST_Request))

4 /var/www/domains/aafkeprinsen.nl/www/wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Widgets_Controller->get_items(Object(WP_REST_Request))

5 /var/www/domains/aafkeprinsen.nl/www/wp-includes/rest-api/class-wp-rest-server.

I am just using the theme, not an expert. Thanks

mbtools commented 1 month ago

Let's start with some details: Which version of WordPress do you have? What's the version of the suffusion theme?

What steps do you take to get the error message?

TexAafke commented 1 month ago

I have it all updated. Newest Wordpress. Newest Suffusion. This error report came by mail. Site won't let me normally work with widgets anymore. Verzonden vanaf mijn Galaxy -------- Oorspronkelijk bericht --------Van: Marc Bernard @.> Datum: 12-07-24 00:22 (GMT+01:00) Aan: sayontan/suffusion @.> Cc: TexAafke @.>, Author @.> Onderwerp: Re: [sayontan/suffusion] I am not an expert (Issue #88) Let's start with some details: Which version of WordPress do you have? What's the version of the suffusion theme? What steps do you take to get the error message?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

TexAafke commented 1 month ago

Wordpress 6.5.5Verzonden vanaf mijn Galaxy -------- Oorspronkelijk bericht --------Van: Marc Bernard @.> Datum: 12-07-24 00:22 (GMT+01:00) Aan: sayontan/suffusion @.> Cc: TexAafke @.>, Author @.> Onderwerp: Re: [sayontan/suffusion] I am not an expert (Issue #88) Let's start with some details: Which version of WordPress do you have? What's the version of the suffusion theme? What steps do you take to get the error message?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

mbtools commented 1 month ago

I'm using the same versions on my site and widgets are working fine.

The function suffusion_get_image() mentioned in the error message certainly exists (in functions/media.php) and that file is required properly by the Suffusion framework. Are you able to check if media.php exists in the theme/functions folder?

You wrote that widgets don't work anymore. So widgets were working before? What has changed?

mbrsolution commented 1 month ago

Hello all, I can confirm that Suffusion works with the latest WordPress version 6.6. I am running Suffusion in one of my dev sites without any issues with the widgets. I recommend that you also install the following plugin because Suffusion does not work well with Gutenberg.

https://wordpress.org/plugins/gutenberg/

Kind regards, Manuel

fbrick1 commented 1 month ago

@.***

Get Outlook for iOShttps://aka.ms/o0ukef


From: mbrsolution @.> Sent: Saturday, July 20, 2024 8:56:47 PM To: sayontan/suffusion @.> Cc: Subscribed @.***> Subject: Re: [sayontan/suffusion] I am not an expert (Issue #88)

Hello all, I can confirm that Suffusion works with the latest WordPress version 6.6. I am running Suffusion in one of my dev sites without any issues with the widgets. I recommend that you also install the following plugin because Suffusion does not work well with Gutenberg.

https://wordpress.org/plugins/gutenberg/

Kind regards, Manuel

— Reply to this email directly, view it on GitHubhttps://github.com/sayontan/suffusion/issues/88#issuecomment-2241359424, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHHRKW4PXSOJA5WSY4QAVITZNMBM7AVCNFSM6AAAAABKWT6EO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGM2TSNBSGQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>