Viewing 4 replies - 1 through 4 (of 4 total)
  • Same error, same line here! I want to still using Speed Booster. It’s a really great plugin.

    I know it’s something related to the theme I’m using because I get 0 warnings when I switch to default theme on one of my sites: https://thestarterkit.info/

    I have no idea what can I do to get rid of this :S

    Thread Starter paulrmiller3

    (@paulrmiller3yahoocom)

    what exactly did you do to fix it and what theme are you using?

    It seems there are a few different options in the thread you shared…

    Thanks

    Hey Paul, I’m not developer so you can’t expect a good explanation, sorry. I tried everything I could (deactivate every single plugin, switch to default theme,…) I knew that it could be something related to variables and different type of arguments so I started to search on the all mighty Google. So in our case:

    – Open core.php from the “inc” folder created by the speed booster plugin. Do it with notepad, Sublime text, whatever…

    I’ve changed every – foreach ($stuff....)– to foreach ((array)$stuff...). I had to do it a couple of times. The warning just disappeared and everything’s fine now.

    It’s not something that changes your theme’s files, only the plugin so don’t worry and try it for yourself ?? Just keep in mind that changes will be lost when the plugin will be updated as we are changing one of its files.

    Maybe tiguan could shed some light on it.

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