qstudio
Forum Replies Created
-
Forum: Plugins
In reply to: [Export User Data] Error: Invalid argument supplied for foreach() on line 183if ( $usermeta && is_array($usermeta) ) { foreach( $usermeta as $field ) { $usermeta_fields[] = $field; } }
Line 183 expects $usermeta to include an array of values – I presume you selected no usermeta fields – this is a bug in the plugin, but this fix should sort it – FYI – I’ve not tested this yet.. but will and if it’s good, I’ll release an update.
Q
Forum: Plugins
In reply to: [Export User Data] Page not found – script timing out?@tinsterman – can you please test the plugin using default 2013 theme and with other plugins deactivated – and also check any wp_debug info to see if there is an error reported in the plugin.
the 404 page probably does not signify a timeout – but rather that WP did not understand how to run the export from the plugin.
Q
@yr4ik fix seems to get around the problem – thanks
turning off the:
“Email Confirmation” Feature Activated:
option means that people can now register directly.. but, that feature would be useful. thanks
Hi – I get the same error with latest version and latest WP.
checking the code:
$signup = $wpdb->get_row( $wpdb->prepare("SELECT * FROM ".$wpdb->prefix."signups WHERE activation_key = %s", $key) );
It seems to be looking for a “wp_prefix_signups” table – which I don’t have.
The signup function appears to require the table too:
$wpdb->insert( $wpdb->prefix.'signups', array('domain' => '', 'path' => '', 'title' => '', 'user_login' => $user, 'user_email' => $user_email, 'registered' => current_time('mysql', true), 'activation_key' => $key, 'meta' => $meta) );
please can you confirm this is correct and why it might be missing?
Thanks
The trick is to use the exclude parameter with get_terms before returning the list.
Forum: Plugins
In reply to: [Exploit Scanner] [Plugin: Exploit Scanner] Hash file for 3.4.2for those than don’t know – this code needs to be downloaded as a txt file and then saved ( renamed ) as hashes-3.4.2.php then ftp it up to:
home/your-site.com/wp-content/plugins/exploit-scanner/