John Huebner
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF Post-2-Post] Relationship Post Object Filtering Issueif the field “community” is a post object (an object of the class WP_Post). This is causing an error when you try to concatenate it into the string, likely causing an “to string” conversion error.
If you want the title of the post then you should be using $community->post_title
Forum: Plugins
In reply to: [ACF Post-2-Post] Relationship Post Object Filtering Issue}, 10, 4);Priority, Number of args passed
Forum: Plugins
In reply to: [ACF Post-2-Post] Relationship Post Object Filtering Issuelooks right to me
Forum: Plugins
In reply to: [ACF Post-2-Post] Relationship Post Object Filtering IssueYou need to check the post type of for where the field is being shown, using $post (second argument)
For example at the top of your filter
if ($post->post_type == 'post-type-1') { // set value for this post type } else { // set title for other post type }Forum: Plugins
In reply to: [Shortcodes Ultimate - Content Elements] Shortcode Maker ErrorThe requests are to check for updates for the premium add-on(s). I have solve this issue for now by editing that file to prevent the error from showing if/until the developer gets his problems resolved.
On line 753 of that file there is an else statement
} else {I changed this line to
} elseif(0) {Forum: Plugins
In reply to: [ACF Post-2-Post] User fieldNo, this plugin only works for relationship and post object fields.
Forum: Plugins
In reply to: [ACF User Role Field Setting] How secure is this plugin?This plugins uses the acf/prepare_field hook. It returns the field or false as described in the documentation based on the settings and the current user’s user type.
Forum: Plugins
In reply to: [ACF User Role Field Setting] Removed Sub Fields SupportI can probably add a filter to allow turning it back on but it would not something that I would support using.
Using this on sub fields of any kind would require the removal of the ability to re-order rows and that is not something that I’m going to add to this plugin.
This issue should be corrected in the new version I just uploaded.
Forum: Plugins
In reply to: [WooCommerce] Missing table after updating to WooCommerce 6.5Or it could be the error is because the column is used as the unique key that it issues an error instead of a warning. meta_key in the _postmeta table is still 255 characters even though this makes the index on that column relatively useless, but that column is not used for as a unique key. It took years to get the issues resolved for option_name in the _options table.
Forum: Plugins
In reply to: [WooCommerce] Missing table after updating to WooCommerce 6.5This error is generated because of a update to MariaDB. It used to let these things pass but that basically makes the index useless. Now it checks and causes an error.
Forum: Plugins
In reply to: [WooCommerce] Missing table after updating to WooCommerce 6.5INODB Table indexes on varchar are limited to 767 bytes. urf8mb uses 4 bytes for each character. This means the the max size for a varchar column that is indexed is 191 characters.
- This reply was modified 4 years, 3 months ago by John Huebner.
Forum: Plugins
In reply to: [WooCommerce] Missing table after updating to WooCommerce 6.5Where it says
KEY <code>url</code> (<code>url</code>)
caused by back ticks in the error messageForum: Plugins
In reply to: [WooCommerce] Missing table after updating to WooCommerce 6.5I’m having the same issue, this is the error
[11-May-2022 14:57:07 UTC] WordPress database error Index column size too large. The maximum column size is 767 bytes. for query CREATE TABLE wp_wc_product_download_directories ( url_id BIGINT UNSIGNED NOT NULL auto_increment, url varchar(256) NOT NULL, enabled TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (url_id), KEY <code>url</code> (<code>url</code>) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci made by do_action('woocommerce_page_wc-status'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Menus->status_page, WC_Admin_Status::output, include_once('/plugins/woocommerce/includes/admin/views/html-admin-page-status.php'), WC_Admin_Status::status_tools, WC_REST_System_Status_Tools_V2_Controller->execute_tool, WC_Install::verify_base_tables, WC_Install::create_tables, dbDeltaForum: Plugins
In reply to: [Shortcodes Ultimate - Content Elements] Shortcode Maker ErrorI didn’t solve the problem. The issue is that the developer is having issues with the update server because he and/or it is in russia.
- This reply was modified 4 years, 3 months ago by John Huebner.