• Resolved georg

    (@georgp)


    I upgraded to WordPress 6.2. Bjork is running fine, but I am not able anymore to open Webpage and/or Template Editor. I see a blank page here. I tried Twenty Twenty-Three, here everything works fine.

    Is this a general incompatibility between WP6.2. and Bjork or would I have to investigate deeper on my setup?

    Thanks for the great theme btw.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator James Huff

    (@macmanx)

    Hmmm, I can confirm that I see the same problem.

    Theme Author Anders Norén

    (@anlino)

    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.

    Theme Author Anders Norén

    (@anlino)

    @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.

    Theme Author Anders Norén

    (@anlino)

    @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.

    Moderator James Huff

    (@macmanx)

    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 );
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Problems with WordPress 6.2’ is closed to new replies.