• I just updated the base plugin to 4.6.3 and a breaking change was introduced where $nxt_security_raw is now a stdClass (likely from json_decode() without associative mode), but is still accessed using array syntax ([]), leading to a fatal error: “Cannot use object of type stdClass as array.” Here is the original code:

    if ( ! empty( $nxt_security_raw[‘svg-upload’][‘switch’] ) && ! empty( $nxt_security_raw[‘svg-upload’][‘values’] ) ) {
    require_once NEXTER_EXT_DIR . ‘include/panel-settings/extensions/nexter-ext-svg-upload.php’;
    }

    To fix it, simply add this line above the if statement:

    $nxt_security_raw = json_decode(json_encode($nxt_security_raw), true);

    I am running PHP version 8.3 and WordPress version 6.9.4

    Jim

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Divyang Chaudhary

    (@divyangposimyth)

    Hello @jdhunter

    Thank you for sharing this with us.

    This has been fixed in Nexter Extension v4.6.4, which is live now.

    Please update to the latest version and it should sort this out. If anything still looks off after the update, just let us know and we will dig in further.

    Best Regards.

    Plugin Support Mohit Ahuja

    (@mohitahuja)

    Hello @jdhunter ,

    Just following up to check if you had a chance to update to the latest version and tested.

    We hope the issue is now resolved and working correctly for you 😊

    If everything is working fine, you may consider marking the ticket as resolved. However, if you are still facing any issue or notice anything unusual, please let us know and we will be happy to assist further.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.