Hmmm, I can confirm that I see the same problem.
Hey @georgp and @macmanx,
I’m afraid I can’t recreate this issue either on my local installation or on the demo site, both running Björk 0.2.1 and WordPress 6.2. The Site Editor view loads and works without any problems on both.
Can you try deactivating all plugins you have installed on the installation, in case there’s a conflict there?
— Anders
Thread Starter
georg
(@georgp)
@anlino It seems to be no plugin problem, but a problem with my functions.php’s individual actions and filters. As a workaround I rename the functions.php and then edit in the site editor.
@georgp Is that an issue in a child theme functions.php file, or in the Björk functions.php file?
If it’s the latter, I’d know to know what it is so I can try and troubleshoot.
Thread Starter
georg
(@georgp)
@anlino thanks, problem lies in the functions.php from my child theme.
@georgp Thanks for the confirmation! Glad you got it working.
@macmanx Let me know if you get it working as well. If you’re also using a child theme, I’m wondering if it could be an issue with the umlauts in the name or something.
Thanks @anlino!
Mine is suddenly working this morning. I’m on WordPress.com now, which contains it’s own oddities, and I see that a built-in custom JS/CSS concatenation plugin was also automatically updated overnight, so given my experience with concatenation, I bet that’s what it was. 😉
Thread Starter
georg
(@georgp)
@anlino @macmanx I had time to debug now. Seems to be the following snippet for removing version parameters, that is making problems with WP 6.2 and Bjork theme in functions.php
// Remove wp version param | css and js
function remove_wp_ver_css_js_code_paste( $src ) {
if ( strpos( $src, 'ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
// for css style file urls
add_filter( 'style_loader_src', 'remove_wp_ver_css_js_code_paste', 9999 );
// for js script file urls
add_filter( 'script_loader_src', 'remove_wp_ver_css_js_code_paste', 9999 );