MaryMak
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Order and Taxonomy Terms Order] getting errorI am also getting this error.
WordPress version 5.5
Current theme: HMHF (version 1.2.0)
Current plugin: Category Order and Taxonomy Terms Order (version 1.5.7.2)
PHP version 7.3.20Uncaught Error: Call to undefined function wc_get_attribute_taxonomies()
Yup. Fixed after the upgrade. Thank you!
I am on php 7.3. Thanks for removing in the next version. ??
Hi Gary,
I would love to see this plugin taken over and supported! Can you do that just through GitHub? https://github.com/wp-plugins/gravity-forms-list-field-select-drop-down
CRITICAL Cannot declare class Braintree, because the name is already in use in /home/customer/www/hearthandstonelht.com/public_html/wp-content/plugins/restrict-content-pro/includes/libraries/braintree/lib/Braintree.php on line 13
I’ve got RCP looking at it too. It may be on their end. WooCommerce is working fine when Braintree is not enabled for RCP. I will let you know what they say.
Thank you!
Hello,
The “requireDependencies” function was just an example of a suggested fix but it looks like you already have something like that in place. Here is the RCP code:
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'autoload.php'); if (version_compare(PHP_VERSION, '5.4.0', '<')) { throw new Braintree_Exception('PHP version >= 5.4.0 required'); } class Braintree { public static function requireDependencies() { $requiredExtensions = ['xmlwriter', 'openssl', 'dom', 'hash', 'curl']; foreach ($requiredExtensions AS $ext) { if (!extension_loaded($ext)) { throw new Braintree_Exception('The Braintree library requires the ' . $ext . ' extension.'); } } } } Braintree::requireDependencies();
Thank you!
Hello,
That link is working for me in all browsers. Are you getting an error?
I tried it with the default 2019 theme and also with other plugins turned off and it is still not showing but I’ve been told we don’t actually need it for that product so I will just forget about it for now.
Thanks again for your time and this plugin. Have a great day!
Hi @riatech,
Me (maxms) again! After the list field calculation plugin updates and updating to GF v.2.4.2.2 my form disappeared on Safari (both macOS and iOS). I came here thinking it is now an issue with this drop down options plug in. Are you seeing an issue in Safari?
Forum: Plugins
In reply to: [Drop Down Options in List Fields for Gravity Forms] Bulk add options+1 for this.
Update: This worked to initially populate the dropdown but it doesn’t add any new posts added so I am looking for a solution to that.
So… I got this to work! When I removed the field ID code, the base code you provided worked. Then I added code to pull in the posts. I also specified the form ID in the filter hooks instead. My final snippet is below.
/******************************************************* * Populate Donation Form dropdown with Nonprofit Posts * ****************************************************/ add_filter( 'gform_pre_render_4', 'my_gform_pre_render' ); add_filter( 'gform_pre_validation_4', 'my_gform_pre_render' ); add_filter( 'gform_admin_pre_render_4', 'my_gform_pre_render' ); add_filter( 'gform_pre_submission_filter_4', 'my_gform_pre_render' ); function my_gform_pre_render( $form ) { if ( is_array( $form ) || is_object( $form ) ) { foreach ( $form['fields'] as &$field ) { // for all form fields if ( 'list' == $field->get_input_type() ) { $has_columns = is_array( $field->choices ); if ( $has_columns ) { foreach ( $field->choices as $key => &$choice ) { // for each column $isDropDown = rgar( $choice, 'isDropDown' ); $column = rgars( $field->choices, "{$key}/text" ); $posts = get_posts( 'post_type=nonprofit&numberposts=-1&post_status=publish&order=ASC' ); if ( $isDropDown && 'Select a Nonprofit' == $column ) { $choices = array(); echo implode( ', ', $choices ); $choices[] = array("text" => "Select an Organization", "value" => ""); foreach ( $posts as $post ) { $choices[] = array( 'text' => $post->post_title, 'value' => $post->post_title ); } $choice['isDropDownChoices'] = $choices; } } } } } } return $form; }
Forum: Plugins
In reply to: [JCH Optimize] Fatal Error When trying to activate plugin+1 on this. Had to deactivate the plugin.
+1 for this issue in Chrome. Using Twenty Seventeen theme and no plugins active.
Forum: Plugins
In reply to: [Timetable and Event Schedule by MotoPress] Day is off (sometimes)Yes, I re-checked this. They are all created using the “Day” radio button and the corresponding day in the drop down menu.
Forum: Plugins
In reply to: [Timetable and Event Schedule by MotoPress] Day is off (sometimes)Hello, here are some screenshots:
https://drive.google.com/open?id=1yHmvEPM6N9PGe5vzFXCP3Y_WmO3oRbHGI can create a user for you if you want to go in and look at anything. As mentioned before it is happening on both the live server and my dev server. I also disabled all other plugins and it was still happening.
Thank you for your time on this!