PMs getting stuck in the out box and not sending.

eCommerce WordPress theme with various e-store features and WooCommerce support.
GK User
Fri Aug 16, 2013 2:51 pm
Hi, I've been trying to send a PM but it just stays in the out box. What's up with that??

Joseph
User avatar
Gold Boarder

GK User
Fri Aug 16, 2013 7:28 pm
Hi,

It's ok, PM disappears from the outbox, when somebody read your PM :)
User avatar
Moderator

GK User
Fri Aug 16, 2013 10:08 pm
this is the server error i get:

20130816T165047: integralmedicine.ca/wp-admin/widgets.php
PHP Fatal error: Cannot unset string offsets in /hermes/bosoraweb106/b1629/nf.fertilitycareclinic/public_html/integralmedicine.ca/wp-content/themes/StoreBox/gavern/helpers/helpers.features.php on line 398

Removed lines 381 to 409 in wp-content/themes/StoreBox/gavern/helpers/helpers.features.php and now it works. any idea why this is happening??
User avatar
Gold Boarder

GK User
Sat Aug 17, 2013 10:44 am
This problem is already fixed in the latest theme update, check your helpers.features.php file and if you have this fragment:
Code: Select all
 // check for the unexisting widgets
        foreach($widget_names as $widget_name) {
            // if widget doesn't exist - remove it from the options
            if(in_array($widget_name, $all_widgets) !== TRUE) {
                unset($options_type[$widget_name]);
                unset($options[$widget_name]);
                unset($styles[$widget_name]);
                unset($styles_css[$widget_name]);
                unset($responsive[$widget_name]);
                unset($users[$widget_name]);
            }
        }


replace it with this one:
Code: Select all
// check for the unexisting widgets
        foreach($widget_names as $widget_name) {
            // if widget doesn't exist - remove it from the options
            if(in_array($widget_name, $all_widgets) !== TRUE) {
                if(isset($options_type[$widget_name])) {
                    unset($options_type[$widget_name]);
                }

                if(isset($options[$widget_name])) {
                    unset($options[$widget_name]);
                }

                if(isset($styles[$widget_name])) {
                    unset($styles[$widget_name]);
                }

                if(isset($styles_css[$widget_name])) {
                    unset($styles_css[$widget_name]);
                }

                if(isset($responsive[$widget_name])) {
                    unset($responsive[$widget_name]);
                }

                if(isset($users[$widget_name])) {
                    unset($users[$widget_name]);
                }
            }
        }
User avatar
Moderator


cron