Harm10
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi siteThank you for responding!
Good to hear that my first attempt was the right approach. As I said WC started installing and I got that screen with moving completion bar. It went until around 80% and then nothing happened.
It looked like everything was there. At that time I did not check the tables.
My current problem is that it seems impossible to restart the whole install process?I am using custom php code to add meta tags to the header. So code like
global $product;
$price = $product->get_price();
And that failed as the method is not there?
When vardumping the product var only its name was there?
But I have not investigated what should be there.
I might add that this custom code works fine on another site (not multi).@ironikus Is this plugin still supported?
Any progress on my request?
Forum: Themes and Templates
In reply to: [Storefront] PHP fatal error in default_menu_walkerI have updated all my sites that also use Storefront as a secondary theme via Multiple Theme plugin and with WP 6.4.2 there are no problems!
So for me this issue can be closed!Forum: Themes and Templates
In reply to: [Storefront] PHP fatal error in default_menu_walkerIt looks like WP 6.4.2 solves the problem! Will test some more (on other sites) and report back.
Forum: Themes and Templates
In reply to: [Storefront] PHP fatal error in default_menu_walkerI contacted the current developer of Multiple Themes. Alas he tells me that he has no time to fix this and advises me to look for another plugin that does the same. I do not think there is an alternative. Just reporting this for those of you who find this.
I also want to add that storefront is not the only one that gets into problems as soon as it is the second theme that needs to be activated.
I am experiencing this with others as well.
All give you a line number in the functions.php of that theme and at that location the first get_template_directory is executed.
I assume the plugin hooks into that function to set the template dir, if desired, to another location when the second theme needs to be activated.
I am trying to understand the logic of the plug-in but haven’t made much progress yet.Forum: Themes and Templates
In reply to: [Storefront] PHP fatal error in default_menu_walkerI was expecting this……… ??
Forum: Themes and Templates
In reply to: [Storefront] PHP fatal error in default_menu_walkerI disabled Multiple Themes and made Storefront main theme.
Then the error is gone.Forum: Themes and Templates
In reply to: [Storefront] PHP fatal error in default_menu_walker` WordPress Environment WC Version: 8.2.2 REST API Version: ? 8.2.2 WC Blocks Version: ? 11.1.3 Action Scheduler Version: ? 3.6.3 Log Directory Writable: ? WP Version: 6.4.1 WP Multisite: ? WP Memory Limit: 256 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – Server Environment Server Info: Apache PHP Version: 8.0.30 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.87.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 10.6.15-MariaDB-cll-lve-log Max Upload Size: 1 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.2.2 WC Database Prefix: wp_ Total Database Size: 7.48MB Database Data Size: 4.36MB Database Index Size: 3.12MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + 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.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + 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_2_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_2_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_2_fa_user_logins: Data: 0.02MB + Index: 0.25MB + Engine InnoDB wp_2_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_2_options: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_2_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_2_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_2_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_2_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_2_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_2_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_2_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.02MB + 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.02MB + Index: 0.03MB + Engine InnoDB wp_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_blog_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_evf_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_evf_entrymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_evf_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fa_user_logins: Data: 0.05MB + Index: 0.25MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 2.48MB + Index: 0.08MB + Engine InnoDB wp_postmeta: Data: 0.19MB + Index: 0.11MB + Engine InnoDB wp_posts: Data: 0.09MB + Index: 0.20MB + Engine InnoDB wp_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sitemeta: Data: 0.03MB + Index: 0.03MB + 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.08MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: 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 wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts acf: 1 acf-field: 2 acf-field-group: 1 attachment: 31 custom_css: 1 everest_form: 1 nav_menu_item: 130 page: 10 post: 21 revision: 3 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (16) Advanced Import: by AddonsPress – 1.4.0 Aki Toolset: by Aki Themes – 1.0.3 Classic Editor: by WordPress Contributors – 1.6.3 Everest Forms: by WPEverest – 2.0.5 IS-theme-companion: by vibhorp – 1.53 WooCommerce: by Automattic – 8.2.2 WordPress Importer: by wordpressdotorg – 0.8.1 LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: by Themeisle – 2.6.8 WP Log Viewer: by Maxwell Berkel – 1.2.1 Really Simple SSL: by Really Simple Plugins – 7.1.3 Reveal IDs: by Oliver Schl?be – 1.6.1 Server IP & Memory Usage Display: by Apasionados Apasionados del Marketing – 2.1.0 User Login History: by Er Faiyaz Alam – 2.1.3 Advanced Custom Fields: by WP Engine – 6.2.2 WP Rollback: by GiveWP.com – 1.7.3 Multiple Themes: by David Gewirtz – 7.1.1 Inactive Plugins (1) WP Downgrade | Specific Core Version: by Reisetiger – 1.2.6 Settings API Enabled: – Force SSL: – Currency: EUR (€) 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: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – WC Pages Shop base: #737 - /shop/ Cart: #738 - /cart/ Checkout: #739 - /checkout/ My account: #740 - /my-account/ Terms and conditions: ? Page not set Theme Name: Enigma Version: 7.59 Author URL: https://infigosoftware.in/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? Templates Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: – Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-11-15 13:06:05 +00:00 Options: ? Notes: 123 Onboarding: completed Action Scheduler Complete: 9 Oldest: 2023-11-11 11:19:58 +0000 Newest: 2023-11-14 20:35:43 +0000 Failed: 1 Oldest: 2023-06-02 19:10:57 +0000 Newest: 2023-06-02 19:10:57 +0000 Pending: 1 Oldest: 2023-11-15 20:35:43 +0000 Newest: 2023-11-15 20:35:43 +0000 Status report information Generated at: 2023-11-14 20:47:33 +00:00 `
Forum: Themes and Templates
In reply to: [Storefront] PHP fatal error in default_menu_walkerThe status report below is from a multi site but I have similar problems on a single site.
(I removed the site urls from the status report)
I tried upgrading to PHP 8.0 but the problem persists.
These problems occurred directly after upgrading from WP 6.3.2 to 6.4.1.
When reverting to WP 6.3.2 the problem disappears.
I also use Multiple Themes plug-in to display specific pages in another theme. This plug-in was not updated.No reply of official support in 10 months! Bad support!
Forum: Plugins
In reply to: [Yoast SEO] wpseo_breadcrumb huge in size and exhausting memoryI have reported on GitHub. Here
Forum: Plugins
In reply to: [Yoast SEO] wpseo_breadcrumb huge in size and exhausting memoryI am used to reporting problems on GitHub (I have an account) but in this case this seems a bit extra work? Why should I create a totally new post (and having to explain everything anew) while you can just forward this all to development? Other plug-in support does that too. So why this difference?
Forum: Plugins
In reply to: [Yoast SEO] wpseo_breadcrumb huge in size and exhausting memoryOn version 15.9 I need to protect my sites for this storage problem by using the code published (too large).
On 15.9 wpseo_breadcrumb shortcode exists and on my test site and the size is 914533 (Home page).
On 15.7 the shortcode does not exist at all so cannot pose a problem.Still I am wondering what is in it? A breadcrumb is supposed to be small especially on the Home page! Do the WP blocks (I have a lot of them on my Home page of my test site) “blow” up the content?
Is there a part of the content of the breadcrumb that you want to see/analyze? If so please specify the best way to code that in PHP.
Forum: Plugins
In reply to: [Yoast SEO] wpseo_breadcrumb huge in size and exhausting memory1 C
2
I am maintaining several sites that never had storage problems. Since recent updates (no changes in the home pages concerned whatsoever) this problem has occurred.3
I am using debug code that is displayed in the page source (hidden but clickable to open) that is only added when I have logged in.
Code for that is:ob_start(); // Start output buffering global $shortcode_tags; R_Debug::dump_remark($shortcode_tags); $shortcodes = ob_get_clean(); $dcode .= '<div id="remark_debug_shortcodes" class="remark_debug_list" style="display: none">Shortcodes:'.$shortcodes.'</div>';
dump_remark code:
static function dump_remark($dumparray) { $output = ''; $dumpcnt = count($dumparray); $output .= 'Array count ' . $dumpcnt . '<br/>'; foreach ($dumparray as $key => $value) { if (is_array($value)) { $serialized_data = serialize($value); $size = strlen($serialized_data); $output .= $key . ' is an array!<br/>'; if ($size > 10000) { $output .= 'array size is too large! ' . $size . '<br/>'; } else { $output .= print_r( $value, true ); } } else { $output .= "{$key} => {$value} <br/>"; } } echo '<pre>' . $output . '</pre>'; }
So I am not changing anything only displaying.
4 See code above.
5 This array is huge. So how would I be able to show it’s content? That why I asked for a sample PHP code.
6 All involved sites are small. Only tens of URLs.
I could give you an URL but I do not want to publish that here.
- This reply was modified 4 years ago by Harm10.