studio-arrenberg / quartiersplattform

🏡 Repo für die Quartiersplattform
https://arrenberg.app
MIT License
2 stars 3 forks source link

Problem with WP 6.1 update and 'Link-Library' plugin #146

Open Uatschitchun opened 1 year ago

Uatschitchun commented 1 year ago

I've got a problem with: WP 6.1 + Quartiersplattfrom theme + Link Library plugin

My website wasn't available at the root address since automatic update to WP 6.1 (deactivated automatic updates now). Pages like example.com/projekte or example.com/login were working, but not just example.com Screenshot_20221104_165743

Tried plugin with different themes => all working fine Tried QP-theme without plugin => all working fine, but no link list (because deactivated) Tried downgrading WP to 6.0.3 => QP-theme + Link Library working fine again.

Something changed with WP 6.1 rendering a 'Bad Gateway' (502) error.

Enabling wordpress' debug doesn't show anything

ylefebvre commented 1 year ago

Where can I get the QP-theme to test? Is it a free or paid theme?

ylefebvre commented 1 year ago

I have not seen any feedback from you on this issue. Where can I get a copy of this theme to test? If it's a home-grown or paid theme, then the next thing would be to enable the site's WP_DEBUG feature and see what types of errors are generated by your site.

Uatschitchun commented 1 year ago

@ylefebvre Sorry, haven't seen your reply. The quartiersplattform theme is free, simply clone

I tried again today, updated to WP 6.1.1 and got the same "page unavailable" error again when enabling "link library" ;(

Together with that I got a whole lotta of these: PHP Warning: Cannot modify header information - headers already sent by (output started at /homepages/34/d77201858/htdocs/wp-hammesberg/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php:54) in /homepages/34/d77201858/htdocs/wp-hammesberg/wp-content/themes/quartiersplattform/functions.php on line 3319

I got it solved with commenting line 3328 in functions.php: //add_filter( 'determine_locale', 'qp_language', 10, 1 );

After that the site is working again with "link library" enabled and the mentioned Warning is gone. Translations do not work anymore after commenting add_filter.

There seems something broken with translations here, as https://github.com/studio-arrenberg/quartiersplattform/issues/147 & https://github.com/studio-arrenberg/quartiersplattform/issues/148 show.

So, @ylefebvre, it seems not to be a problem with your plugin, alas it is triggering it.

ylefebvre commented 11 months ago

Very odd. The only time that Link Library does anything related to locale is by using @setlocale but this only happens when you're saving your library settings. So I really don't understand why this is causing a problem. Did you have any luck contacting the author of the quartiersplattform theme?

Uatschitchun commented 11 months ago

Did you have any luck contacting the author of the quartiersplattform theme?

Yes, this is the github belonging to Quartiersplattform theme :-)

ylefebvre commented 11 months ago

My bad. I did not see that. But I also don't see any resolution here since you posted back in March. Is the conflict still present or the issue was just not closed?