• Resolved GreenlandMeadows

    (@jewishtidbits)


    Hi, I’m getting this error.

    Warning: unserialize() expects parameter 1 to be string, array given in /home/content/a2pnexwpnas03_data03/58/3527058/html/wp-content/plugins/widget-options/core/functions.widget.display.php on line 30

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @jewishtidbits,

    Thank you so much for choosing Widget Options! Regarding your concern, can you replace the file with this one : https://github.com/phpbits/widget-options/blob/develop/core/functions.widget.display.php and let me know if that fixes the issue? Thanks!

    Cheers,
    Jeffrey

    wierdthingsayer

    (@wierdthingsayer)

    Hello, Jeffrey,

    I, too, encountered the same warning (Warning: unserialize() expects parameter 1 to be string, array given in /home/content/p3pnexwpnas12_data03/05/3640305/html/wp-content/plugins/widget-options/core/functions.option.tabs.php on line 30) after installing Widget Options on a site running WP 4.6.1, theme GeneratePress, with an assortment of other plugins (list on request). The warning did NOT appear while I was configuring and testing the site while logged in (in Firefox) as an administrator, but DID appear when I viewed the site without logging in, using Safari and Chrome. Logging out of Firefox caused the warning to appear there, too.

    I’ve replaced the functions.widget.display.php file on the site with the development version in your reply, and the error no longer displays on the home page, however unfortunately show/hide doesn’t appear to work (all three widgets in the right sidebar on the home page appear although the Search and Archive widgets are supposed to be hidden), and the warning for unserialized() appears on the Blog page.

    I’m not seeing the same issues on a test site which also uses WP 4.6.1 and GeneratePress, and the same set of plug-ins but a lot less content.

    Hi @wierdthingsayer,

    Thank you very much for the follow up information. Can you create a support ticket here : https://phpbits.net/contact/ and would be very helpful if you can include the website link and admin login info for me to further check and fix the issue. I can’t replicate it on all my live and development sites. Thanks!

    Cheers,
    Jeffrey

    Hi @jewishtidbits @wierdthingsayer

    Fixes has been uploaded on version 3.0.2, you can check the code fix here : https://github.com/phpbits/widget-options/commit/acd23798e73c4664bad36ada45280ff2ee92772e . Let me know when you encounter any other issues. Thanks!

    Cheers,
    Jeffrey

    skivey0281

    (@skivey0281)

    I had encountered the above problems, I have done the above codes and still have 1 error.

    Warning: unserialize() expects parameter 1 to be string, array given in /home/content/p3pnexwpnas16_data01/23/3723723/html/wp-content/plugins/extended-widget-options/core/functions.so.pagebuilder.php on line 44

    Site sitting on a dual host https://6ca.f1a.myftpupload.com/

    regards

    Matt

    Hi @skivey0281

    Please create a support ticket here : https://phpbits.net/support/ since you are using the pro version. I’ll be very happy to help you out. Thanks!

    Cheers,
    Jeffrey

    Hi @skivey0281

    Several fixes was successfully uploaded on the Extended Plugin version. Please upgrade to 4.0.2 and let me know when you encounter any other issues. Thanks!

    Cheers,
    Jeffrey

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Getting an Error’ is closed to new replies.