kariravantti
Forum Replies Created
-
I shame myself. It was not this plugin. ??
Forum: Plugins
In reply to: [Yoast SEO] WP Database error (SQL Syntax)Hi
We had similar errors:
[Thu Sep 21 08:38:59.717727 2017] [:error] [pid 30293] [client 109.204.149.225:54228] WordPress-tietokannan virhe You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘%1$s )’ at line 3 kyselylle \n\t\t\t\tSELECT internal_link_count, incoming_link_count, object_id\n\t\t\t\tFROM ss_yoast_seo_meta\n\t\t\t WHERE object_id IN ( %1$s ) Tekij\xc3\xa4: WP_List_Table->display, WP_List_Table->display_tablenav, WP_Posts_List_Table->extra_tablenav, do_action(‘manage_posts_extra_tablenav’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Link_Columns->count_objects, WPSEO_Link_Columns->set_count_objects, WPSEO_Link_Column_Count->set, WPSEO_Link_Column_Count->get_results, referer: https://salpaus-testi.aurorads.pro/wp-admin/
[Thu Sep 21 08:39:05.692699 2017] [:error] [pid 30285] [client 109.204.149.225:54226] WordPress-tietokannan virhe You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘%1$s )’ at line 3 kyselylle \n\t\t\t\tSELECT internal_link_count, incoming_link_count, object_id\n\t\t\t\tFROM ss_yoast_seo_meta\n\t\t\t WHERE object_id IN ( %1$s ) Tekij\xc3\xa4: WP_List_Table->display, WP_List_Table->display_tablenav, WP_Posts_List_Table->extra_tablenav, do_action(‘manage_posts_extra_tablenav’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Link_Columns->count_objects, WPSEO_Link_Columns->set_count_objects, WPSEO_Link_Column_Count->set, WPSEO_Link_Column_Count->get_results, referer: https://salpaus-testi.aurorads.pro/wp-admin/edit.php?post_type=page
[Thu Sep 21 08:39:07.543126 2017] [:error] [pid 30293] [client 109.204.149.225:54228] WordPress-tietokannan virhe You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘%1$s )’ at line 3 kyselylle \n\t\t\t\tSELECT internal_link_count, incoming_link_count, object_id\n\t\t\t\tFROM ss_yoast_seo_meta\n\t\t\t WHERE object_id IN ( %1$s ) Tekij\xc3\xa4: WP_List_Table->display, WP_List_Table->display_tablenav, WP_Posts_List_Table->extra_tablenav, do_action(‘manage_posts_extra_tablenav’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Link_Columns->count_objects, WPSEO_Link_Columns->set_count_objects, WPSEO_Link_Column_Count->set, WPSEO_Link_Column_Count->get_results, referer: https://salpaus-testi.aurorads.pro/wp-admin/edit.php?post_type=pageWith previous version of YOAST, disabling it helped. After installed the latest version sites are still broken even YOAST is disabled!
Forum: Plugins
In reply to: [BuddyDrive] Unable to overwrite fileWe also investigated this and gave up. Too much work for us.
Forum: Plugins
In reply to: [BuddyDrive] Cannot remove files inside folders on UISure. @luuigi and @mrpritchett
Should I share the files somewhere? (I’m new here)
Changes in code:
buddydrive-item-classes.php
Line 783 add
// Set action identifier
$args[‘user_action’] = ‘remove_from_group’;…before existing
$updated = buddydrive_update_item( $args, $item );buddydrive-item-functions.php
Line 703 replace
if ( ! empty( $item->post_parent ) && empty( $params[‘parent_folder_id’] ) ) {
$default_privacy = ‘private’;if ( ! empty( $args[‘privacy’] ) && buddydrive_get_privacy( ‘buddydrive_’ . $args[‘privacy’] ) ) {
$default_privacy = $args[‘privacy’];
}$params[‘privacy’] = $default_privacy;
} elseif ( ! empty( $params[‘parent_folder_id’] ) && $params[‘type’] === buddydrive_get_file_post_type() ) {
// Set default privacy if user is deleting from group
if( !empty( $params[‘user_action’] ) && $params[‘user_action’] === ‘remove_from_group’){
$params[‘privacy’] = $default_privacy;
} else {
$params[‘privacy’] = buddydrive_get_privacy( $params[‘parent_folder_id’] );
}
}Those should look better in editor.
@mrpritchett
Note that we have tested the fix only in one (multi)site.
Please mention the company I represent with the bug fix. “AuroraDS”We have done some other mods too:
File extensions visible on UI (works with office files too)
Sorting of files in alphabetical order
Finnish translations (not fully finished yet)Would you be interested in any of those?
Forum: Plugins
In reply to: [BuddyDrive] Cannot remove files inside folders on UIWe have fixed this issue by ourselves.
2 files needed to be modified with just few lines of code.
buddydrive-item-classes.php
buddydrive-item-functions.php(BuddyDrive does not actually delete files when deleting on UI)
Forum: Plugins
In reply to: [BuddyDrive] Under New ManagementHi
We have customized the plugin to show file extensions. We also modified the sorting of files.
If you kindly answer my thread where I repoted a bug… Maybe we can trade… ??