• Resolved lombrik5

    (@lombrik5)


    Hello,

    I can not access my orders anymore. What to do ? I already disable all plugins but it does not change anything.

    I am logged in as an administrator and in Woocommerce => Orders, I can not access the commands. This brings me to a blank page. Ditto when I click on “add order”

    I solved the problem by adding:
    add_filter ('use_block_editor_for_post', '__return_false', 101);

    But finally this solution poses me another problem. I can not access Gutenberg anymore on the site. So I give it up.

    On the other hand I discovered something, when I am on this empty page, in the code I detect courses “hidden” which put all the page in display “none”. When I disable these courses all the content of the page reappears.

    We can see here a message that says “The editor requires Javascript …”

    An idea of where this can come from?

    Thank you p.

    `
    ### WordPress Environment ###

    WordPress address (URL): https://www.lafermedefardissou.bio
    Site address (URL): https://www.lafermedefardissou.bio
    WC Version: 3.7.1
    REST API Version: ? 1.0.2
    Log Directory Writable: ?
    WP Version: 5.2.4
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: fr_FR
    External object cache: –

    ### Server Environment ###

    Server Info: nginx/1.16.1
    PHP Version: 7.3.10
    PHP Post Max Size: 128 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.52.1
    OpenSSL/1.0.2q

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.37-MariaDB-0+deb9u1
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 3.7.1

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    If you’re seeing a blank page, it means there’s actually a 500 error happening but that your site isn’t set to show errors. The best way to figure out what’s going wrong is to check the PHP fatal logs via wp-admin > WooCommerce > Status > Logs – you can select the fatal log from the dropdown in the top right corner of your screen.

    You may need to disable the added filter, which may be suppressing/working around the error. Figuring out the root problem should avoid the further problems that you’re encountering.

    Thread Starter lombrik5

    (@lombrik5)

    Hello,

    I have this which appears in a log:
    add_to_cart_fragments is deprecated since version 3.0.0! Use woocommerce_add_to_cart_fragments instead.

    Is this the problem?

    Thank, P

    • This reply was modified 5 years, 2 months ago by lombrik5.
    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @lombrik5!

    add_to_cart_fragments is deprecated since version 3.0.0!

    If the error still came up with WooCommerce core disabled, then it’s either your theme or another plugin using the deprecated hook and I would recommend you re-enable WooCommerce core, then switch to a default theme, like Storefront (https://www.ads-software.com/themes/storefront/), and disable all other plugins, to see if it goes away. If it does, you’ll need to re-enable features until it comes back up, then contact the author of the theme/plugin and have them update their code to use the correct woocommerce_add_to_cart_fragments hook.

    With that said though, it is unlikely that this error would cause a 500 issue. Are you able to take a closer look at the fatal error log found under “WooCommerce > Status > Logs” page and see if there is anything else in there?

    Cheers!

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘order page blank’ is closed to new replies.