chrishaff
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Orders missing from back end listingThanks for taking a detailed look.
While I wasn’t the person doing the migration/import/export I did restore backups of the pre-relaunch version of the site and found them to be in the same condition, that is there is data in the wp_wc_xxx and wp_woocommerce_xxx tables but it’s not reflected in wp_posts.
Good to hear thanks. Two quick follow up questions:
- When do you think you may publish this update?
- If the update will be more than a few days, could you please share the updated lines ahead of time?
Thanks!
The Moodle team checked their settings and the sync works now. Thanks!
Forum: Plugins
In reply to: [WooCommerce] Unable to insert download log entry in database.I also get this error. In my case after I pushed from Staging to Live on WPEngine.
Modifying the source isn’t real sustainable. Is there a more durable solution?
When I check in the back end the order is Completed. Looking at Downloadable Product Permissions it reports that the user downloaded the file twice. It was attempted, but failed twice.
Forum: Plugins
In reply to: [date_query enabler] Doesn’t appear to work with 4.7@doofusdavid, I haven’t been able to get 4.7 back to the previous state. As I mentioned, I went back to 4.6.1 hoping that this feature comes back (via core or plugins). My attempts at plugins have not worked (and I stopped no that track for now).
Thanks for any hints.
Forum: Plugins
In reply to: [date_query enabler] Doesn’t appear to work with 4.7OK, so evidently the filter went away when it moved into core. There is this plugin that should restore it, alas I’ve got no luck with that one.
https://github.com/WP-API/rest-filter/blob/master/plugin.php
‘orderby’ => ‘term_order’ does not appear to work with WordPress 4.6. I’ve created the following shortcode. Alas the result is not in the order I see when I visit Taxonomy Order.
function myCategories(){ $terms = get_terms( array( 'taxonomy' => 'category', 'number' => 10, 'orderby' => 'term_order', ) ); $result = ''; if ( ! empty( $terms ) && ! is_wp_error( $terms ) ) { $count = count( $terms ); $i = 0; $term_list = '<div class="my_term-archive">'; foreach ( $terms as $term ) { $i++; $term_list .= '<a href="' . esc_url( get_term_link( $term ) ) . '" alt="' . esc_attr( sprintf( __( 'View all post filed under %s', 'my_localization_domain' ), $term->name ) ) . '">' . $term->name . '</a>'; if ( $count != $i ) { $term_list .= ', '; } else { $term_list .= '</div>'; } } $result .= $term_list.''; } return $result; } add_shortcode( 'my-categories', 'myCategories' );
Forum: Plugins
In reply to: [MC4WP: Mailchimp User Sync] Javascript errors on "Synchronize All"Installed 1.4.
Here is what happened in the UI:
- Clicked, one user was sent over. “Progress bar said infinity%”. Waited a little, nothing. Opened debug log in another tab; said nothing was logged, no issues.
- Reloaded page. Indicated one user was in sync. Clicked on sync all again; proceeded to send over the remaining users without issue
Validated that they all got into MC fine.
So better – worked on the second try…
I didn’t try the CLI as my mission was accomplished.Let me know if you’d like me to do more QA, otherwise you can resolve this issue.
Forum: Plugins
In reply to: [JSON API] Retrieve pages within date rangeThis! Do I need to create a custom controller?
Forum: Plugins
In reply to: [JSON API] sql query on a custom controllerWait, could you please provide an example?
Forum: Plugins
In reply to: [Contact Form 7] on_sent_ok not fired on mobile devicesSilly fat fingers, I meant CF7 version 3.3.2. It’s WP version 3.5.
Hmm, I am on version 2.0.3 and I have this issue, or is it perhaps because I have the same form on the page several times?
I think this is the durable solution:
$image_src = plugins_url( 'captcha.php', __FILE__ ) . '?_CAPTCHA&t=' . urlencode(microtime());
I believe this also eliminates the need for the next line (126).
@nick
The problem seems to be in /lib/captcha/captcha.php on line 125 the global variable __FILE__ is used. __FILE__ resolves all symlinks (that the hosting co likely set up) . The resolved symlinks then don’t match up with strlen($_SERVER[‘DOCUMENT_ROOT’]).I couldn’t think of a quick way to elegantly solve that issue, so I just replaced the line with
$image_src = '/wp-content/plugins/salesforce-wordpress-to-lead/lib/captcha/captcha.php' . '?_CAPTCHA&t=' . urlencode(microtime());
but that will only work for folks that are using WP at the root of their domain.