tomf2468
Forum Replies Created
-
I wasn’t aware the plugin had been orphaned! The first fix work as you described, but I got stuck at the second fix. Do you have any memory of this??
Fatal error: Uncaught ValueError: Unknown format specifier “t” in /Users/tomferguson/Sites/km-tri-cities/wordpress/wp-content/plugins/wp-property/l10n.php:50 Stack trace: #0 /Users/tomferguson/Sites/km-tri-cities/wordpress/wp-content/plugins/wp-property/l10n.php(50): sprintf(‘Showing % to % …’, ‘0’, ‘0’, ‘0’) #1 /Users/tomferguson/Sites/km-tri-cities/wordpress/wp-content/plugins/wp-property/lib/class_core.php(1356): include(‘/Users/tomfergu…’)?
l10n Line 50 is
‘showing_entries_null’ => sprintf( __( ‘Showing % to % of % entries’, ud_get_wp_property()->domain ), ‘0’, ‘0’, ‘0’ ),
Which is part of//** Datatables Library */
‘dtables’ => array(
‘first’ => ( ‘First’, ud_get_wp_property()->domain ), ‘previous’ => ( ‘Previous’, ud_get_wp_property()->domain ),
‘next’ => ( ‘Next’, ud_get_wp_property()->domain ), ‘last’ => ( ‘Last’, ud_get_wp_property()->domain ),
‘processing’ => ( ‘Processing…’, ud_get_wp_property()->domain ), ‘show_menu_entries’ => sprintf( ( ‘Show %s entries’, ud_get_wp_property()->domain ), ‘MENU‘ ),
‘no_m_records_found’ => ( ‘No matching records found’, ud_get_wp_property()->domain ), ‘no_data_available’ => ( ‘No data available in table’, ud_get_wp_property()->domain ),
‘loading’ => ( ‘Loading…’, ud_get_wp_property()->domain ), ‘showing_entries’ => sprintf( ( ‘Showing %s to %s of %s entries’, ud_get_wp_property()->domain ), ‘START‘, ‘END‘, ‘TOTAL‘ ),
‘showing_entries_null’ => sprintf( ( ‘Showing % to % of % entries’, ud_get_wp_property()->domain ), ‘0’, ‘0’, ‘0’ ), ‘filtered_from_total’ => sprintf( ( ‘(filtered from %s total entries)’, ud_get_wp_property()->domain ), ‘MAX‘ ),
‘search’ => ( ‘Search:’, ud_get_wp_property()->domain ), ‘display’ => ( ‘Display:’, ud_get_wp_property()->domain ),
‘records’ => ( ‘records’, ud_get_wp_property()->domain ), ‘all’ => ( ‘All’, ud_get_wp_property()->domain ),
),class_core line 1356 is
include( $l10n_dir );
Which is part of
public function get_l10n_data() {
$l10n = array();
//** Include the list of translations */
$l10n_dir = ud_get_wp_property()->path( ‘l10n.php’, ‘dir’ );
include( $l10n_dir );
/** All additional localizations must be added using the filter below. */
$l10n = apply_filters( ‘wpp::js::localization’, $l10n );
foreach( (array)$l10n as $key => $value ) {
if( !is_scalar( $value ) ) {
continue;
}
$l10n[ $key ] = html_entity_decode( (string)$value, ENT_QUOTES, ‘UTF-8’ );
}
return $l10n;
}Forum: Plugins
In reply to: [WooCommerce] Paypal plugin and shipping address in notificationsThanks for your help Juan, here is the status report
### WordPress Environment ### WordPress address (URL): https://www.2manylizards.com/store Site address (URL): https://www.2manylizards.com/store WC Version: 6.8.0 REST API Version: ? 6.8.0 WC Blocks Version: ? 8.0.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: ? 5.9.3 - There is a newer version of WordPress available (6.0.1) WP Multisite: – WP Memory Limit: 128 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.30 PHP Post Max Size: 64 MB PHP Time Limit: 50000 PHP Max Input Vars: 5000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.38-log Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.8.0 WC Database Prefix: wp_ Total Database Size: 17.12MB Database Data Size: 11.25MB Database Index Size: 5.87MB wp_woocommerce_sessions: Data: 4.02MB + Index: 0.08MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.13MB + Index: 0.14MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.05MB + Index: 0.13MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.16MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 3.05MB + Index: 0.08MB + Engine InnoDB wp_postmeta: Data: 2.50MB + Index: 4.03MB + Engine InnoDB wp_posts: Data: 0.39MB + Index: 0.25MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 74 custom_css: 1 nav_menu_item: 7 page: 7 post: 5 product: 86 revision: 76 shop_coupon: 1 shop_order: 1009 shop_order_refund: 7 woocustomemails: 2 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (8) ### Ocean Extra: by OceanWP – 2.0.4 All-in-One WP Migration: by ServMask – 7.63 Jetpack: by Automattic – 11.2 Product Customer List for WooCommerce: by Kokomo – 3.0.9 Woo Custom Emails Per Product: by Alex Mustin – 2.2.9 WooCommerce PayPal Payments: by WooCommerce – 1.9.2 WooCommerce Shipping & Tax: by WooCommerce – 1.26.3 WooCommerce: by Automattic – 6.8.0 ### Inactive Plugins (2) ### Akismet Anti-Spam: by Automattic – 5.0 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 ### 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: – Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #11 - / Cart: #12 - /cart/ Checkout: #13 - /checkout/ My account: #14 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: OceanWP Child Version: 1.0 Author URL: https://oceanwp.org/ Child Theme: ? Parent Theme Name: OceanWP Parent Theme Version: 3.3.4 Parent Theme Author URL: https://oceanwp.org/about-oceanwp/ WooCommerce Support: ? ### Templates ### Overrides: oceanwp/woocommerce/cart/mini-cart.php oceanwp/woocommerce/content-single-product.php oceanwp/woocommerce/loop/loop-start.php oceanwp/woocommerce/single-product/title.php ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: US WooCommerce currency supported: ? PayPal card processing available in country: ? Pay Later messaging available in country: ? Webhook status: – Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: ? ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-08-16 18:06:37 -07:00 Options: ? Notes: 96 Onboarding: completed ### Action Scheduler ### Complete: 86 Oldest: 2022-07-25 18:16:13 -0700 Newest: 2022-08-14 20:26:37 -0700 Pending: 1 Oldest: 2022-08-15 18:20:41 -0700 Newest: 2022-08-15 18:20:41 -0700 ### Status report information ### Generated at: 2022-08-15 11:31:42 -07:00
Just in case someone is searching and finds this question: It appears this Official LifterLMS video explains that this is a newer WordPress “bug” and can be only fixed by using the “Classic Editor” plugin:
I’m not one of the experts here… but I see what looks like a complete site!
Hello Toyin,
I suspect you are right about PHP 7.4 version. The troublesome host can’t be upgraded past 7.3.11, the working host was 7.4.x. I’m told I will get 7.4 on the troublesome host “soon”, until then I will just hide those buttons, everything else seems to be running great.Tom
I didn’t explain that well… both site #1 (with the problem) and my staging space are BOTH at MediaTemple. That is why I’m thinking it may be a host setting.
Thanks Toyin, I do have a copy of this on my staging site. Disabling all plugins except LifterLMS didn’t solve it. Switching to a default WP them didn’t solve it.
I work on two lifterLMS sites. Site #1 (with this problem) is on MediaTemple hosting (which has always been good to me). The second site is on GoDaddy, but doesn’t have any certificates. I temporarily added a certificate to the GoDaddy site… and all worked perfectly. Leaving me to wonder if a server setting (PHP setting) on MediaTemple is causing me trouble.
Any thoughts on what to check?
I’m adding this css to my child theme until this is figured out (to hide the save and share buttons, but leaving the working print button):
.llms-print-certificate button[name=”llms_generate_cert”] {
display: none;
}
.llms-print-certificate button[name=”llms_enable_cert_sharing”] {
display: none;
}Thanks Toyin,
you can get the system report here:
https://www.dropbox.com/sh/u2oz6wgljjvd3rd/AABiJT5TBEtMMUWNwT0Hc0ska?dl=0I will delete that when we have this figured out.
Tom
Just a note, I’m getting this while logged in as Admin and “viewing” a certificate
Perhaps answering my own question. Is the headshot/avatar in the catalogs intended to be the teacher or the author? I’m thinking author and I can’t find a way to change author in Memberships (it isn’t in quick edit). If this is Author, it is of very little value in this project, so I may add the code below to my child theme functions just to remove it:
// remove from tile on course and membership catalogs
remove_action( ‘lifterlms_after_loop_item_title’, ‘lifterlms_template_loop_author’, 10 );Please add a comment if anyone thinks I have misunderstood anything!
Thank you!! I got a bit lost on “page id” from that article, but each signup block has a unique id. So:
/* remove Access Time from March 2022 */
#llms-access-plan-2102 .llms-access-plan-expiration{display:none;}Works perfectly when added to Appearance->Customize->Additional CSS. I will have to clean those up as the classes pass, but the client is happy.
Hi,
Thanks for the reply. If I put
.llms-access-plan-expiration{display:none;}
in Appearance->Customize->Additional CSS the “ACCESS UNTIL” line in the LifterLMS Pricing Table disappears on ALL of my classes. I need to remove it on only specific classes. Any thoughts?I figured it out ??
I was too fixated on the php.ini file, the “bug” was in the apache.config file. It did get replaced during the upgrade!
On a Mac local server you need to alter the stock apache.config allow “AllowOverride” and load “mod_rewrite.so” or .htaccess files will not work. If .htaccess files don’t work, then WordPress can’t use simple names for the pages.
I’ve done this before! Why it took me two days to remember it……
Thanks for the help Les, I do appreciate it!
Looks like a nice option, the site I’m doing is for a client (not for me), so I want to stay as close to the original proposal as possible. I did find WonderPlugin that seems to offer exactly what I want ( https://www.wonderplugin.com/wordpress-tabs/ ). Unfortunately, it is far from free (yes, I do need to remove the WonderPlugin free version’s “watermark”)!
I’m surprised if the built in Elementor tabs can’t be individually addressed. Most of the time I build custom html/php sites (rather than WordPress sites) and use the wonderful Project VII products for Tabs and similar things. Also not free! I’m use to this being a very simple thing to do and “assumed” it would also be simple in Elementor/WordPress… you know what they say about assuming ??
Yes, that is what I’m trying to do. I have (unsuccessfully) tried adding an anchor link inside the tab and making the link /pagename/#anchorname. I also found that each tab has a unique ID created by Elementor and tried making the links /pagename/#uniqueID. That also failed ??