How we store error/success messages to the next page

You could save the messages in a $_SESSION variable. This way, the values will be preserved untill you decide to remove them again. function save_message( $type, $message=”” ) { $_SESSION[‘messages’][$type] = $message; } function get_messages() { $return = ”; if ( isset( $_SESSION[‘messages’] ) && is_array( $_SESSION[‘messages’] ) ) { foreach( $_SESSION[‘messages’] as $type => … Read more

wp_handle_upload returns empty error array

Okay so Milo was on track to what the answer was. and I needed to brush up on muliple file uploads… anyway the solution for me to at least get it to upload… was this $daFile = $_FILES[‘files’]; foreach ($_FILES[‘files’] as $key => $value) { $daFile[$key] = $value[0]; } $upload = wp_handle_upload($daFile , array(‘test_form’ => … Read more

Resolving Javascript errors likely related to Gantry framework

Fixed. Thanks to some feedback on reddit (see this thread and this one), I learned that the issue was that the mootools.js script was being loaded far too late. I solved it (rather inelegantly, I’m sure) by adding this line to themes/rt_gantry_wp/index.php, around line 30 or so (before the if blocks): $gantry->addScript(‘/wp-content/plugins/gantry/js/mootools.js’); It’s no longer … Read more

WooCommerce Checkout Error [closed]

Check your WooCommerce System Status to make sure there are no red entries, especially in the Pages section Test your checkout process with the console active Check your server error logs for any entries that relate to the pay page How to use the Google Chrome console : https://developers.google.com/chrome-developer-tools/docs/console How to use FireBug for FireFox … Read more

Search Everything & WP 3.7 update issues [closed]

Thanks to @Pat J i removed the syntax that was causing me problems. For those who are interested, inside the Search Everything plugin, on line 198 – 221 there is the following function: function se_search_default() { global $wpdb; $n = ( isset( $this->query_instance->query_vars[‘exact’] ) && $this->query_instance->query_vars[‘exact’] ) ? ” : ‘%’; $search=””; $seperator=””; $terms = … Read more

Unable To Login With Correct Credentials?

Since you cannot access the WordPress Dashboard with your user account you will need to use FTP or SSH to access the wp-content/plugins directory for your site and rename the plugin folder for wp-customer-reviews. Example: wp-content/plugins/wp-customer-reviews becomes wp-content/plugins/wp-customer-reviews-broken This will disable the plugin and allow you to log into the WP Dashboard again.