dornstudio
Forum Replies Created
-
Forum: Plugins
In reply to: [Mercado Pago payments for WooCommerce] No Convierta DivisasInfo adicional: en versiones anteriores (ej: 3.0.17) había una página: ~/wp-admin/admin.php?page=mercado-pago-settings …esta página desapareción en la versión nueva.
Ahí hubo una opción ‘checkbox’ de ‘currency conversion’ …lo cuál creó dos campos en el base de daos:
_mp_currency_conversion_v0
_mp_currency_conversion_v1
Tuve que agregar esos campos manualmente en el base de datos con un valor de ‘1’ para cada uno…con eso funciona la conversión.
I made a stupid error in my code and had my ‘manual’ site ID set to the current site ID. Your plugin works brilliantly.
Using
acf_form
there are JS errors. Please see log screenshot.In case anyone is interested, I’ve also posted on the ACF forum.
- This reply was modified 7 years, 4 months ago by dornstudio.
- This reply was modified 7 years, 4 months ago by dornstudio.
This plugin is also breaking for me. When on a post page within wp-admin, I see:
Warning: json_decode() expects parameter 1 to be string, array given in ~/wp-content/plugins/acf-image-crop-add-on/acf-image-crop-v5.php on line 946 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at ~/wp-content/plugins/acf-image-crop-add-on/acf-image-crop-v5.php:946) in ~/wp-content/plugins/wc-vendors/class-wc-vendors.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at ~/wp-content/plugins/acf-image-crop-add-on/acf-image-crop-v5.php:946) in ~/wp-includes/pluggable.php on line 1210
In the following file, I’ve changed line 946:
~/wp-content/plugins/acf-image-crop-add-on/acf-image-crop-v5.php
// $data = json_decode($value); $data = (object) $value;
However, now i’m getting the thumbnails to show up twice in wp-admin. I’ll keep trying to go through error logs and debug and will post what I can here as I find it out.
- This reply was modified 7 years, 4 months ago by dornstudio.
- This reply was modified 7 years, 4 months ago by dornstudio.
- This reply was modified 7 years, 4 months ago by dornstudio.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce get_author_posts_url() redirecting to shop baseThanks @pmariano
I tested that out and it works perfectly!
I think I’ve figured this out, in case it helps anyone else:
$start_date = strtotime(date("Y-m-d",current_time( 'timestamp' ))); $end_date = strtotime("+90 days" . date("Y-m-d",current_time( 'timestamp' ))); $my_id = 1234; $my_product = new WC_Product($my_id); $my_booking_obj = new WC_Product_Booking($my_product); $my_availability = $my_booking_obj->get_blocks_in_range( $start_date, $end_date, '', null ); if(!empty($my_availability)){ $my_availability_bool = true; } else { $my_availability_bool = false; }
- This reply was modified 7 years, 6 months ago by dornstudio.
I’m also interested in this and would be happy to test when possible.
I also am experiencing this.
- This reply was modified 7 years, 11 months ago by dornstudio.
Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] WordPress 4.7 IssuesOK, so…fiddled more.
After removing the taxnomies that I set (attached to the Custom Post type which was acting as my CPT-onomy) the select list worked again.
So, what I did was add my custom taxonomy support via hook to the custom post type which was set as my CPT-onomy and things are working again:
add_action('init','add_categories_to_cpt'); function add_categories_to_cpt(){ register_taxonomy_for_object_type('category', 'post_type_name'); }
Nevermind, that didn’t work either :/
- This reply was modified 7 years, 11 months ago by dornstudio.
Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] WordPress 4.7 IssuesHi Ashley,
EDIT: After more fiddling what I posted in terms of code doesn’t actually work.
I’m also having this issue in 4.7. What seems to be happening is that wp-admin is erroneously setting the array of selected CPT-Onomies via the
$selected_cats
variable.I did some tests (plain vanilla WP install, checked the database after saving a post) and: CPT-Onomies are correctly attaching to the post (even though it doesn’t look like it in the meta box).
After some digging I found that
~/wp-content/plugins/cpt-onomies/admin.php
appears causing this, specifically the$selected_cats
variable (~ Line 1370). For me, when I look what is actually contained in that variable, I see an array that is the size of all of my CPT-onomies with the same ID repeated>I will loop back here if I find anything else.
- This reply was modified 7 years, 11 months ago by dornstudio.
- This reply was modified 7 years, 11 months ago by dornstudio.
Hi Jason,
Thanks for the super fast response on this and that’s sort of what I was thinking (though was/am hoping not) ??
I have noticed that when I disable site protection, I no longer get errors. Accordingly, I’m thinking I need to somehow whitelist my server’s IP for the WP Site Protect because I’m only getting this error when protection is enabled.
I will continue to debug/diagnose plugin and post back here when/if I get anywhere.
Thanks again!
Forum: Plugins
In reply to: [WP Site Protect] Still Allow WP-Cron to runTo clarify: the error I’m getting in my cron report is:
[Wed Nov 23 10:53:52 2016] [warn-phpd] mmap cache can’t open ~/mysite.com/wp-content/plugins/postman-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Com.php – Too many open files (pid 38945)
…when I toggle off site protection, the error doesn’t continue to send. Is there a way to whitelist an IP (i.e. my server IP) to get around this?
I’ve contacted both the Postman SMTP Mailer/Email Log plugin author and my sysadmin to help diagnose. And will loop back in my findings when I can.
- This reply was modified 8 years ago by dornstudio.
I am also experiencing this issue. WP v4.6.1 CPT-Onomies v1.3.5
- This reply was modified 8 years ago by dornstudio.
- This reply was modified 8 years ago by dornstudio.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Overriding Templates via ThemeExcellent, thanks for the fast reply! Do you happen to have an estimated date for this release?
Also, weirdly, when I add my permalink slug later in the string, it does work without a 404, for example:
$wp_rewrite->add_permastruct('mycpt', 'prepend-stuff/%postname%/%mycptonomy_slug%/', false, 1);