• Resolved wuppy29

    (@wuppy29)


    Since I updated wordpress to version 3.9.1 I’ve got the following error at the bottom of all of my posts:
    Warning: array_unshift() expects parameter 1 to be array, null given in /home/jimmymo52/domains/wuppy29.com/public_html/minecraft/wp-content/plugins/device-theme-switcher/inc/class.switcher.php on line 312

    Warning: array_unshift() expects parameter 1 to be array, null given in /home/jimmymo52/domains/wuppy29.com/public_html/minecraft/wp-content/plugins/device-theme-switcher/inc/class.switcher.php on line 303

    An example of this on the website: http://www.wuppy29.com/minecraft/modding-tutorials/forge-modding-1-7/

    It mentions the switcher and goes away when I turn it off. Please fix this, I absolutely love this plugin.

    https://wordpress.org/plugins/device-theme-switcher/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author James Mehorter

    (@jamesmehorter)

    How are you calling the ‘View Full Website’ and ‘Return to Mobile’ links in that footer? Can you give me an exact example?

    FYI, know that this is only a PHP warning. If you disable WP_DEBUG in your wp-config.php file the warning message will disappear. It’s not a ‘fix’, but will at least hide that warning message.

    Thread Starter wuppy29

    (@wuppy29)

    I have the Return to Mobile Website and View Full Website widgets in Footer Area 3 and didn’t change anything.

    Plugin Author James Mehorter

    (@jamesmehorter)

    This issue has been corrected in the recently released version 2.7. Please upgrade as soon as possible. Thanks for submitting this issue!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Device Switcher error in WordPress 3.9.1’ is closed to new replies.