Any chance we can get an update on this old plugin? I think it’s due.
Thank you
]]>Getting tons of errors with this plugin:
[Sat Jun 03 11:24:05.877953 2023] [proxy_fcgi:error] [pid 21793:tid 139895162808064] [client 37.120.215.244:0] AH01071: Got error ‘PHP message: is_internal_meta_key was called incorrectly. Generic add/update/get meta methods should not be used for internal meta data, including “_billing_phone”. Use getters and setters. Backtrace: do_action(‘wp_ajax_woocommerce_add_order_note’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::add_order_note, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerceCheckOutForm::trigger_new_customer_note, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong. This message was added in version 3.2.0.’, referer: https://*********/wp-admin/post.php?post=267486&action=edit
]]>Hello there,
The note search function is cool, that’s why I uninstall WPC Order Notes and keep this one. But items per page field needs to be enhanced, as for now, there is no pagination regardless of any number entered, and the number entered cannot be saved, once you leave the Notes section, the number will change back to 50.
Best regards,
Qilin
Hi,
Does this work with Woocommerce REST API? Searching a note in orders endpoint will work?
Thank you
]]>Plugin is working, but with error message. This is the error message from Woocommerce > Status > Logs:
2021-06-16T18:34:18+00:00 CRITICAL Uncaught Error: Call to a member function get_order_number() on boolean in /home/webhos32/bleider.webhost.a2hosted.com/wp-content/plugins/note-finder-for-woocommerce/note-finder-html.php:64
Stack trace:
#0 /home/webhos32/bleider.webhost.a2hosted.com/wp-content/plugins/note-finder-for-woocommerce/note-finder-for-woocommerce.php(79): require()
#1 /home/webhos32/bleider.webhost.a2hosted.com/wp-includes/class-wp-hook.php(292): ospiotrNoteFinder->notes_content(”)
#2 /home/webhos32/bleider.webhost.a2hosted.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
#3 /home/webhos32/bleider.webhost.a2hosted.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#4 /home/webhos32/bleider.webhost.a2hosted.com/wp-admin/admin.php(259): do_action(‘woocommerce_pag…’)
#5 {main}
thrown en /home/webhos32/bleider.webhost.a2hosted.com/wp-content/plugins/note-finder-for-woocommerce/note-finder-html.php en la línea 64
### WordPress Environment ###
WordPress address (URL): https://bleider.webhost.a2hosted.com
Site address (URL): https://bleider.webhost.a2hosted.com
WC Version: 5.3.0
REST API Version: ? 5.3.0
WC Blocks Version: ? 4.9.1
Action Scheduler Version: ? 3.1.6
WC Admin Version: ? 2.3.1
Log Directory Writable: ?
WP Version: 5.7.2
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: –
WP Cron: ?
Language: es_CO
External object cache: –
### Server Environment ###
Server Info: Apache
PHP Version: 7.2.34
PHP Post Max Size: 128 MB
PHP Time Limit: 300
PHP Max Input Vars: 10000
cURL Version: 7.71.0
OpenSSL/1.1.1d
SUHOSIN Installed: –
MySQL Version: 10.3.23-MariaDB-cll-lve
Max Upload Size: 128 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ? Tu servidor no tiene la clase SoapClient activada - puede que algunos plugins de pasarela de pago que utilizan SOAP no funcionen como se espera.
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?
### Database ###
WC Database Version: 5.0.0
WC Database Prefix: wp8d_
Tama?o total de la base de datos: 8.56MB
Tama?o de los datos de la base de datos: 6.18MB
Tama?o del índice de la base de datos: 2.38MB
wp8d_woocommerce_sessions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp8d_woocommerce_order_items: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_woocommerce_order_itemmeta: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB
wp8d_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp8d_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_actionscheduler_actions: Datos: 0.11MB + índice: 0.11MB + Motor InnoDB
wp8d_actionscheduler_claims: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_actionscheduler_logs: Datos: 0.08MB + índice: 0.06MB + Motor InnoDB
wp8d_additional_supplier_info: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_atum_order_itemmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_atum_order_items: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_atum_product_data: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp8d_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_comments: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB
wp8d_groups_capability: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_groups_group: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_groups_group_capability: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_groups_user_capability: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_groups_user_group: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_oim_product_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_omega_index_changes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_options: Datos: 3.50MB + índice: 0.13MB + Motor InnoDB
wp8d_order_inventory: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_pickplugins_wl_data: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_postmeta: Datos: 0.33MB + índice: 0.16MB + Motor InnoDB
wp8d_posts: Datos: 0.11MB + índice: 0.06MB + Motor InnoDB
wp8d_qa_cog_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_qa_cog_order_product_lookup: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp8d_qa_cog_order_stats: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_rednao_wc_invoice: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_rednao_wc_invoices_created: Datos: 0.06MB + índice: 0.00MB + Motor InnoDB
wp8d_rednao_wc_invoices_custom_field: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_siq_sync: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_stock_log: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_termmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_terms: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_term_relationships: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_term_taxonomy: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_tm_taskmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_tm_tasks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_usermeta: Datos: 0.03MB + índice: 0.03MB + Motor InnoDB
wp8d_users: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp8d_vtprd_purchase_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_vtprd_purchase_log_product: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_vtprd_purchase_log_product_rule: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_vtprd_transient_cart_data: Datos: 0.03MB + índice: 0.03MB + Motor InnoDB
wp8d_wccs_conditions: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_wccs_condition_meta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_wcpdf_invoice_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_wc_admin_notes: Datos: 0.05MB + índice: 0.00MB + Motor InnoDB
wp8d_wc_admin_note_actions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_wc_customer_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_wc_order_product_lookup: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp8d_wc_order_stats: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp8d_wc_order_tax_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_wc_product_meta_lookup: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB
wp8d_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_wdr_order_discounts: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_wdr_order_item_discounts: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_wdr_rules: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_yith_wcwl: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_yith_wcwl_lists: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_yoast_indexable: Datos: 0.11MB + índice: 0.08MB + Motor InnoDB
wp8d_yoast_indexable_hierarchy: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp8d_yoast_migrations: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp8d_yoast_primary_term: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_yoast_seo_links: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp8d_yoast_seo_meta: Datos: 0.08MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_acl_roles: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_acl_wp_connections: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_audit: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_audit_data: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_contacts: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_install: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_items: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_settings: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_transactions: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp8d_zi3_transactions_lines: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
### Post Type Counts ###
attachment: 52
custom_css: 1
customize_changeset: 9
elementor_library: 1
is_search_form: 1
nav_menu_item: 6
ni-order-status: 4
o-discount: 2
o-list: 1
page: 29
pos-station: 2
post: 2
product: 32
product_variation: 2
revision: 18
shop_coupon: 1
shop_order: 11
supplier: 1
vtprd-rule: 1
wishlist: 2
wpes_setting: 1
### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?
### Active Plugins (18) ###
FiboSearch - AJAX Search for WooCommerce: por Equipo de FiboSearch – 1.11.0
ATUM Inventory Management for WooCommerce: por Stock Management Labs? – 1.9.0.1
Payment Gateway Based Fees and Discounts for WooCommerce: por Tyche Softwares – 2.6.3
Cities Shipping Zones for WooCommerce: por Condless – 1.1.1
FG PrestaShop to WooCommerce: por Frédéric GILLES – 4.18.1
LoftLoader: por Loft.Ocean – 2.3.6
Note Finder for WooCommerce: por ospiotr – 1.2
VarkTech Pricing Deals for WooCommerce: por Vark – 2.0.2.02
PW WooCommerce Bulk Edit: por Pimwick
LLC – 2.88
Qty Increment Buttons for WooCommerce: por taisho – 2.7.5
Conditional Discounts for WooCommerce by ORION: por ORION – 2.23
Checkout Field Editor for WooCommerce: por ThemeHigh – 1.4.8
WooCommerce PDF Invoice Builder: por RedNao – 1.2.28
WooCommerce Admin: por WooCommerce – 2.3.1
WooCommerce PDF Invoices & Packing Slips: por Ewout Fernhout – 2.8.3
WooCommerce POS: por kilbot – 0.4.26
WooCommerce Stock Manager: por StoreApps – 2.5.7
WooCommerce: por Automattic – 5.3.0 (la actualización a la versión 5.4.1 está disponible)
### Inactive Plugins (13) ###
Flexible Shipping: por WP Desk – 4.5.0
Loco Translate: por Tim Whitlock – 2.5.2
Ni WooCommerce Custom Order Status: por anzia – 1.9.3
PayPal PLUS for WooCommerce: por Inpsyde GmbH – 2.2.1
Shop Manager Admin for WooCommerce: por zorem – 3.4.3
States, Cities, and Places for WooCommerce: por Kingsley Ochu – 1.3.2
WooCommerce PayPal Checkout Gateway: por WooCommerce – 1.6.18 (la actualización a la versión 2.1.1 está disponible)
WooCommerce Services: por Automattic – 1.22.2 (la actualización a la versión 1.25.14 está disponible)
Woo Discount Rules: por Flycart – 2.3.7
WPC Order Notes for WooCommerce: por WPClever – 1.3.3
WP Super Cache: por Automattic – 1.7.3
YITH WooCommerce Wishlist: por YITH – 3.0.22
Yoast SEO: por Team Yoast – 16.4
### Settings ###
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
Connected to WooCommerce.com: –
### WC Pages ###
Base de la tienda: #6 - /shop/
Carrito: #7 - /cart/
Finalizar compra: #8 - /checkout/
Mi cuenta: #9 - /my-account/
Términos y condiciones: ? Página sin definir
### Theme ###
Name: Storefront
Version: 3.7.0
Author URL: https://woocommerce.com/
Child Theme: ? – Si estás modificando WooCommerce en un tema padre que no has creado personalmente
te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
WooCommerce Support: ?
### Templates ###
Overrides: –
### Action Scheduler ###
Completo: 267
Oldest: 2021-05-17 13:24:35 +0000
Newest: 2021-06-16 04:38:06 +0000
Pendiente: 3
Oldest: 2021-06-16 18:40:04 +0000
Newest: 2021-06-17 01:53:41 +0000
### Status report information ###
Generated at: 2021-06-16 13:39:19 -05:00
]]>
If you could replace lines 56-58 of note-finder-html.php, the plugin would also work on a website with WPML installed.
if ( function_exists('icl_object_id') ) {
global $sitepress;
remove_filter( 'comments_clauses', array( $sitepress, 'comments_clauses' ), 10, 2 );
}
remove_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
$notes = get_comments( $args );
add_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
if ( function_exists('icl_object_id') ) {
add_filter( 'comments_clauses', array( $sitepress, 'comments_clauses' ), 10, 2 );
}
]]>
The order link on the first column is linking to the order number name instead of the order ID
for example, We have an order name #1506 but it’s order ID is #5551506
Your plugin will open the order ID 1506 instead of #5551506
Hope this make sense, can you instead of the link made on the order ID ?
]]>