Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › PHP Color Scheme Error
New Landing › How can we help? › Cardinal › PHP Color Scheme Error
- This topic has 7 replies, 3 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Cardinal
-
December 25, 2014 at 12:50 am #137755
Just downloaded and updated the new theme today.
But I am getting these errors even though I have deactivated all the Plugins, deleted the theme, re-uploaded it, and then added three times.
Thanks!
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php on line 717
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php on line 720
Attachments:
You must be logged in to view attached files.December 25, 2014 at 5:09 pm #137779Hi,
You may ignore these warning and these will not break any feature of theme. You can hide these warning. Please open to edit wp-config.php at wordpress root installation through FTP software.Find this code:- define('WP_DEBUG', true); Change to :- define('WP_DEBUG', false);
Thanks
MohammadDecember 26, 2014 at 1:05 am #137785I already tried that. The code is set to False. When it is set to True I get even more errors, like this:
Notice: Trying to get property of non-object in /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php on line 717
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php on line 717
Notice: Trying to get property of non-object in /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php on line 720
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php on line 720
December 26, 2014 at 3:03 pm #137881Thanks Mohammad for the fast response… However, I contacted my hosting provider this morning and they responded with:
Hello
How do they propose that we fix this?
This isn’t a server side issue. It is a scripting issue, just as the message states:
array_key_exists() expects parameter 2 to be array, null given in /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php on line 717
On line 717 of the file /home/mafiamen/public_html/wp-content/themes/cardinal/includes/sf-colour-scheme.php the function array_key_exists() is used and it expects parameter 2 to be an array, it is not.
Support
December 26, 2014 at 4:12 pm #137897Hi,
The developer of theme will assist you shortly. So let us wait for his reply.
Thanks
MohammadDecember 26, 2014 at 4:15 pm #137898Hi,
Can you provide admin access so we can take a closer look?
Thanks.-Rui
December 26, 2014 at 5:03 pm #137909This reply has been marked as private.December 26, 2014 at 5:34 pm #137912Hi,
Can you tell what was done to hide the warning errors?
Probably that was a data/settings problem we don’t have any similar issue reported, so probably no need to fix any code.
-Rui
-
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.