• Hello,
    I have installation where initially virtue 2.2.0 free was installed.
    I created virtue-child for it, but later theme got updated to 2.2.3

    Site was working till I pressed “apperance/widgets” menu”

    Then I got errors:
    ******
    Warning: Invalid argument supplied for foreach() in C:\wamp\www\mywebsite\wp-includes\widgets.php on line 1429

    # Time Memory Function Location
    1 0.0009 207632 {main}( ) …\widgets.php:0
    2 1.7940 37482880 retrieve_widgets( ) …\widgets.php:123

    Warning: Invalid argument supplied for foreach() in C:\wamp\www\mywebsite\wp-includes\widgets.php on line 1478
    Call Stack
    # Time Memory Function Location
    1 0.0009 207632 {main}( ) …\widgets.php:0
    2 1.7940 37482880 retrieve_widgets( ) …\widgets.php:123
    *****

    Now, I can see that widgets lost their placement from some reason.
    However, If I try to position some of them within widgets area, they are not saved when I reload widgets area.

    Note: Site is offline, this is my local installation.

    Any help is most welcome.

    Mysql 5.7.29
    PHP 5.6.40
    Apache 2.4.41
    Virtue theme 2.2.3
    virtue-child theme created for 2.2.0 (theme updated from some reason)

Viewing 4 replies - 1 through 4 (of 4 total)
  • hannah

    (@hannahritner)

    Hey,
    As I said in your previous thread, you should be using Virtue 3.4.0. Is there a reason you’re not updating? Looks like you’re also using a very old PHP version. You should be on PHP 7+.

    Hannah

    Thread Starter lokz

    (@lokz)

    Yes, there is a reason, there are some plugins that are not compatible with newer wordpress version.

    As I said this is older website, running on PHP 5.

    Please assist if you can.

    hannah

    (@hannahritner)

    Sorry, there’s not much we can do in supporting old versions of plugins, PHP, themes, etc. Which plugins in particular are you wanting that are not compatible with up to date WordPress? Have you tried contacting the plugin developers? Or else searching for new, updated plugins with the same functionalities?

    Hannah

    Thread Starter lokz

    (@lokz)

    Issue resolved when I installed 2.2.0 version of Virtue theme (old one)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Virtue widgets error’ is closed to new replies.