102 comments found

martyk Purchased

Saving ‘Theme Options’ results in each and every text field populated with a number of illegal offset errors. Sample screenshot attached. Again, EVERY text field is populated with errors… sometimes it is okay (maybe 20% of the time) – more often not. For example, I’ve never been able to change default colour. I obviously haven’t found a fix.

wellthemes

Hi,

Go to your theme options and click on the Reset tab and reset the theme options, it will reset the options and these warnings will be removed. If you are unable to pick the color, it might be because of some of your plugin. You can send me your username and password by email using the contact form in my profile so that I can have a look. If you have more questions, let me know :)

Default-user
martyk Purchased

Turns out the errors are because of a compatibility issue with PHP5.4 (this theme isn’t compatible). I’ve modified the option-functions and theme-options files if anybody encounters the same issue.

I used this in the end and changed around 60 or so references.

function wt_isset_get($array, $key, $default = null) { return isset($array[$key]) ? $array[$key] : $default; } $wt_var = isset_get($someArray, 'someKey'); $wt_var = isset_get($someArray, 'someKey', $mydefault);

A cheap alternative might have been to do something like this to every option reference.

if(isset($options['wt_text_fontsize'])) { $text_fontsize = $options['wt_text_fontsize']; }

Needless to say, all is now good.

wellthemes

Glad that you could figure out and thanks for sharing it :)

Hi,

Just fyi.

content-page.php and content-single.php contain a link to del.icio.us which as opposed to delicious.com is listed by google as a malware attack site. wordpress scanners such as wordfence are picking this up as a malware infection.

wellthemes

Hi,

Thanks for the comment. The del.ico.us redirects to the same domain. I don’t think that it is listed by google as malware but I will check this.

by
by
by
by
by
by