gesundegeschenke
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] No Headings and Paragraphs since Update 23.4This is what it looks like in the backend when editing.
Forum: Plugins
In reply to: [Breadcrumb NavXT] use primary categoryHi,
Thanks for the suggestions. I installed Order-Bender and it works great!
Is it true that I can only change this setting manually? Or is there a way to apply this to all products (moren than 1000)?I didn’t get any further with the code. I tried the following:
if (!function_exists(‘my_custom_breadcrumb_primary_category’)) {
function my_custom_breadcrumb_primary_category($term, $id, $type, $taxonomy) {
// Prüfen, ob die Taxonomie ‘category’ ist und ob Yoast SEO aktiv ist
if($taxonomy === ‘category’ && class_exists(‘WPSEO_Primary_Term’)) {
// Abrufen der prim?ren Kategorie von Yoast für den aktuellen Post
$primary_term = new WPSEO_Primary_Term(‘category’, $id);
$primary_term_id = $primary_term->get_primary_term();// Falls eine prim?re Kategorie gefunden wurde, diese zurückgeben if ($primary_term_id) { $term = get_term($primary_term_id); } } // Rückgabe der prim?ren Kategorie oder des ursprünglichen Terms, falls keine prim?re Kategorie gefunden wurde return $term; } // Anwenden des Filters mit den vier Parametern add_filter('bcn_pick_post_term', 'my_custom_breadcrumb_primary_category', 10, 4);
}
(This is not displayed correctly?)
I was able to rule out a conflict with other plugins by deactivating all plugins with the exception of Woocommerce, Yoast and Breadcrumb NavXT.
Hi,
thanks for the suggestions. I did the test with the plugins and actually found one that I had to delete.
After the last update, some errors no longer seem to occur. However, I also cleaned the database during this time. the categories and tags are visible again. I can now work quite well with mailpoet, except for minor delays.
The error with the database connection appears less often.
“MailPoet Error: No connection to database (The database cannot open a file or folder), the connection is probably not configured correctly. Please read our knowledge base post for the steps to resolve this.”
If I reinstall the plugin will I have to recreate all templates? Or can I save these somewhere?
- This reply was modified 3 months, 1 week ago by gesundegeschenke.
The host repeats that it is not due to capacity, but rather due to incorrect plugin settings. Database connections are created and then not closed correctly. Is this perhaps due to the settings in mailpoet or my configuration?
I found this message in the Mailpoet log:
[2024-08-11T03:51:15.376469+00:00] mss.ERROR: key-validation.failed {“http_code”:403,”home_url”:”https://www.gesunde-geschenke.com”,”key_type”:”premiu…
In addition, Mailpoet causes a conflict in Woocommerce when editing products: no product categories and tags are displayed in the sidebar.
I personalized the editor with the following code:
// Disable new WooCommerce product template (from Version 7.7.0)
function bp_reset_product_template($post_type_args) {
if (array_key_exists('template', $post_type_args)) {
unset($post_type_args['template']);
}
return $post_type_args;
}
add_filter('woocommerce_register_post_type_product', 'bp_reset_product_template');
// Enable Gutenberg editor for WooCommerce
function bp_activate_gutenberg_product($can_edit, $post_type) {
if ($post_type == 'product') {
$can_edit = true;
}
return $can_edit;
}
add_filter('use_block_editor_for_post_type', 'bp_activate_gutenberg_product', 10, 2);
// Enable taxonomy fields for woocommerce with gutenberg on
function bp_enable_taxonomy_rest($args) {
$args['show_in_rest'] = true;
return $args;
}
add_filter('woocommerce_taxonomy_args_product_cat', 'bp_enable_taxonomy_rest');
add_filter('woocommerce_taxonomy_args_product_tag', 'bp_enable_taxonomy_rest');can you adapt this code so that it works with mailpoet?
Forum: Plugins
In reply to: [WooCommerce] Short product description not visible “visually” in backendHi Shameem,
Thank you very much for the detailed description. I followed the instructions and found the conflict. it was the plugin media file renamer. strange how that is connected. but the visual editor works again after I deactivated the plugin. great help, thank you very much.
Best regards, Renata
Forum: Plugins
In reply to: [WooCommerce] Short product description not visible “visually” in backendWhen searching on Google I kept coming across problems with JavaScript as a solution.
This command is intended to tell WordPress to stop merging Javascripts.
define(‘CONCATENATE_SCRIPTS’, false);
Didn’t work.
Forum: Plugins
In reply to: [WooCommerce] Short product description not visible “visually” in backendI’m working in the block editor. I deactivated the Spectra plugin, no difference. I’ve been using Spectra for a very long time.
If I edit the product in text mode, the change is applied. If I write something in visual mode it is ignored.For very old products, it doesn’t show me the long description, only the note: Convert to blocks. See screenshot.
https://www.gesunde-geschenke.com/wp-content/uploads/2024/08/woo3.png
Forum: Plugins
In reply to: [WooCommerce] Short product description not visible “visually” in backendwordpress sends me a critical problem: too many (1862, 3MB) automatically loaded options slow down my site. So in the gowp_options table I set all woocommerce payment modalities in ‘Autoload’ from ‘yes’ to ‘no’ because as an affiliate I don’t sell directly, but rather forward them to the partner shops.
I got this on August 8th. made. I can’t say exactly how long the problem with the visual editor has existed. The last time I edited an existing product was on August 3rd and it still worked.
Forum: Fixing WordPress
In reply to: Categories and tags are not displayed in the sidebarIt also applies to the posts/articles. Categories and tags are suddenly no longer available for selection in the sidebar preferences.
Eric wrote this in connection with an email program:
“…But it seems to be removed from the side bar. I also use a plugin that sends notices based on the category called “Email Subscribers” which could be impacting this functionality. Unsure.”
I just tried it and when I deactivated the program, the fields for categories and tags were there again.
I can’t explain why this also affects the posts/articles.It’s just that I need an email program for newsletters.
Hello,
thanks for the reply. I still have the following message from the host:
Cmd: sleep
“Your installation is making too many database connections and is not closing correctly.”
Vielen Dank.
Sorry,
Nach dem Schock habe ich Sie vergessen.
Ja, alles funktioniert und es lag nicht an autoptimize.
DankeEine Frage habe ich noch:
Wenn ich autoptimize deaktiviere, ist dann automatisch auch criticalcss.com deaktiviert?Danke.
Das Link Problem ist gel?st:
Ich habe auf einen Ratschlag hin eine Kopie meiner Seite erstellt mit dem Plugin WP STAGING und konnte dort ohne Gefahr alle Plugins deaktivieren und Einstellungen bearbeiten. So konnte ich den Fehler finden. Es war in meiner Zusammenstellung aller Plugins das eine Plugin MINIFY HTML wohl eins zu viel. Nach der Deaktivierung laufen jetzt auch die Links wieder rund.
Habe ich mit diesem Protokoll trotzdem ein Problem?
Forum: Plugins
In reply to: [WooCommerce] Affiliate Links funktionieren pl?tzlich nicht mehrSie sind ein Genie!
Vielen, vielen Dank für den Tipp mit der staging Seite.
So konnte ich alles ausprobieren und den Fehler finden.
Es ist das Plugin MINIFY HTML.
Endlich l?uft der Laden wieder.
Vielen, vielen Dank!
Wo kann ich sie bewerten?