Support Forum

Warning after update

FI fiddlerman
fiddlerman
Member

Warning: key_exists() expects parameter 2 to be array, boolean given in /home/fiddlerm/public_html/wp-content/plugins/simple-press/sp-startup/admin/spa-admin-framework.php on line 476

Is this something that I can fix?

Thanks

 

9 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

What version is this? Line 476 is an empty, b;lank like of code…! And where are you seeing this?

FI fiddlerman
fiddlerman
Member

I see it on every single page of the forum admin panel on the back end.

Screen-Shot-2016-01-19-at-5.59.22-AM.png
YS Yellow Swordfish
Yellow Swordfish
Member

Do you mean you see it but that there is no theme update in the list?

FI fiddlerman
fiddlerman
Member

I see this warning: Warning: key_exists() expects parameter 2 to be array, boolean given in /home/fiddlerm/public_html/wp-content/plugins/simple-press/sp-startup/admin/spa-admin-framework.php on line 476

I can’t see how this is related to a theme. I do need to update my theme but if I do I loose the layout corrections. I got help with the coding to get the custom badges to line up in topic view. I tried updating the theme and changing the code but none of my attempts were successful.

YS Yellow Swordfish
Yellow Swordfish
Member

Whoops! Sorry – I was confused by the message along the top!

OK – I knew someone had raised this issue but being a month ago I had forgotten all about it. The problem is that at some point you have had the W3 Total Cache plugin installed. Now it would be useful to know if you still have it active or if you have stopped using it.

The error message has been dealt with in the next update and depending upon your answer to the abiove question – we can tell you what needs to be done to make it go away before that. 

FI fiddlerman
fiddlerman
Member

I no longer have W3 Total Cache installed.

I’m very curious. 🙂

Thanks

YS Yellow Swordfish
Yellow Swordfish
Member

I am guessing that you did not follow the full uninstall procedure.  Deactivation dies not remove some of the files. Under the /wp-content/ folder you will have a folder named ‘cache’ and that should also be removed. And that should also stop the message you are getting.

FI fiddlerman
fiddlerman
Member

Thanks, that did it. 🙂

Another question. What do I need to change on a theme to make it a custom theme? In other words, not show that there is an update available to that theme in which I have changed.

IK Ike
Ike
Member

The best thing to do would be to take all your custom changes and put them in a child theme. Child themes only contain changes and nothing else so the parent can continue to receive updates. With templates this will be pretty straight forward as a whole template is required for a child theme for it to be loaded so you wont have to pick out your changes, but with CSS this might be a bit more difficult.

First check out Creating a Child Theme, and if you want to go ahead we supply the Child Theme Frameworks free in the store.

Let’s say you use Default theme and have changes to your spTopicView.php template. You’d download the Default child theme framework and copy your current spTopicView.php template with all it’s changes into your child themes templates folder. Any custom CSS would then go in your child themes style.css, and you could then run the child theme and update Default itself.