
-
AuthorPosts
-
June 25, 2022 at 5:34 pm #1356484
Hallo,
seit dem letzten Update von WordPress und Enfold erhalte ich folgende Fehlermeldung:Notice: Undefined index: nav_visibility_desktop in /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/traits/trait-sc-slideshow-ui-controls.php on line 59
Wie kann ich diesen Fehler beheben?
Link zur Website bei den privaten Inhalten.
Vielen Dank und herzliche Grüße
VeraJune 26, 2022 at 12:04 pm #1356521Hi Vera,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardJune 26, 2022 at 12:31 pm #1356528Hi Rikard,
thanks for your answer. You will find all the details in the private section.Best regards
VeraJune 26, 2022 at 7:22 pm #1356541Hi,
Thanks for that. Does it make any difference if you deactivate all plugins temporarily? You could also try a different, higher PHP version, to see if that changes anything. Also make sure that debug mode is not turned on: https://wordpress.org/support/article/debugging-in-wordpress/
Best regards,
RikardJune 27, 2022 at 9:02 am #1356583Hi,
die höhere PHP-Version macht keinen Unterschied, auch nicht die Deaktivierung des Debug-Modus.
Wenn ich das Plugin WooCommerce deaktiviere verschwindet der Fehler.
Wie kann ich weiter vorgehen?
Viele Grüße
VeraJune 27, 2022 at 10:57 am #1356588Hi,
Thanks for the update. What happens if you deactivate all plugins, except WooCommerce?
Best regards,
RikardJune 27, 2022 at 11:02 am #1356589Hi,
wenn ich alle Plugins deaktiviere ist die Seite nicht mehr erreichbar und ich erhalte folgende Fehlermeldung:
Fatal error: Uncaught Error: Attempt to assign property “extra” on null in /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:913 Stack trace: #0 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php(289): aviaAssetManager->try_deregister_scripts(‘avia-head-scrip…’) #1 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php(104): aviaAssetManager->merge(‘js’, ‘avia-head-scrip…’, Array) #2 /home/www/wordpressWIM19/wp-includes/class-wp-hook.php(307): aviaAssetManager->try_minifying_scripts(”) #3 /home/www/wordpressWIM19/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 /home/www/wordpressWIM19/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #5 /home/www/wordpressWIM19/wp-includes/script-loader.php(2156): do_action(‘wp_enqueue_scri…’) #6 /home/www/wordpressWIM19/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts(”) #7 /home/www/wordpressWIM19/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #8 /home/www/wordpressWIM19/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #9 /home/www/wordpressWIM19/wp-includes/general-template.php(3042): do_action(‘wp_head’) #10 /home/www/wordpressWIM19/wp-content/themes/enfold/header.php(200): wp_head() #11 /home/www/wordpressWIM19/wp-includes/template.php(770): require_once(‘/home/www/wordp…’) #12 /home/www/wordpressWIM19/wp-includes/template.php(716): load_template(‘/home/www/wordp…’, true, Array) #13 /home/www/wordpressWIM19/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #14 /home/www/wordpressWIM19/wp-content/themes/enfold/template-builder.php(15): get_header() #15 /home/www/wordpressWIM19/wp-includes/template-loader.php(106): include(‘/home/www/wordp…’) #16 /home/www/wordpressWIM19/wp-blog-header.php(19): require_once(‘/home/www/wordp…’) #17 /home/www/wordpressWIM19/index.php(17): require(‘/home/www/wordp…’) #18 {main} thrown in /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php on line 913
Viele Grüße
VeraJune 27, 2022 at 12:50 pm #1356594Hi,
Thanks for the update. Is it ok if we deactivate plugins temporarily for debugging purposes? You might want to copy your site to a staging site, if you don’t want to risk any downtime for your live site. Also please share FTP login details with us, so that we can try to upload a fresh copy of the theme for you.
Best regards,
RikardJune 27, 2022 at 3:21 pm #1356608Hi Rikard,
ja, das ist in Ordnung für mich.
Die Anmeldedaten sind bei den privaten Inhalten.
Viele Grüße
VeraJune 27, 2022 at 6:37 pm #1356624Hi,
Thanks for that. The FTP login details are working, but I’m not sure in which folder the site installation is located? Please make sure that you have backups of the site as well, before we start making any changes.
Best regards,
RikardJune 27, 2022 at 7:07 pm #1356628Hi,
entschuldige bitte. Name des Folders ist in den privaten Inhalten. Ein Backup habe ich erstellt.
Viele Grüße
VeraJune 28, 2022 at 3:54 pm #1356745Hey Vera,
I checked your website and it seems like the warning does not cause any issues so I updated the file to hide the warning.
Please review your website :)
Best regards,
YigitJune 28, 2022 at 4:46 pm #1356762Hallo Yigit,
vielen Dank für Ihre Hilfe.
Auf den ersten Blick scheint alles in bester Ordnung zu sein.
Als ich ein Produkt aktualisieren wollte, habe ich folgende Fehlermeldung erhalten:Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home/www/wordpressWIM19/wp-includes/formatting.php:1595 Stack trace: #0 /home/www/wordpressWIM19/wp-includes/formatting.php(1595): preg_match(‘/[\\x80-\\xff]/’, Array) #1 /home/www/wordpressWIM19/wp-includes/formatting.php(2195): remove_accents(Array) #2 /home/www/wordpressWIM19/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3113): sanitize_title(Array) #3 /home/www/wordpressWIM19/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php(45): wc_dropdown_variation_attribute_options(Array) #4 /home/www/wordpressWIM19/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/www/wordp…’) #5 /home/www/wordpressWIM19/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1729): wc_get_template(‘single-product/…’, Array) #6 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php(179): woocommerce_variable_add_to_cart() #7 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1160): avia_sc_produc_button->shortcode_handler(Array, ”, ‘av_product_butt…’, Array) #8 /home/www/wordpressWIM19/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_product_butt…’) #9 [internal function]: do_shortcode_tag(Array) #10 /home/www/wordpressWIM19/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_hea…’, ‘do_shortcode_ta…’, ‘<p>[av_heading …’) #11 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(548): do_shortcode(‘<p>[av_heading …’) #12 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php(1865): ShortcodeHelper::avia_apply_autop(‘<p>[av_heading …’) #13 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1160): avia_sc_columns->shortcode_handler(Array, ‘<br />\n[av_head…’, ‘av_two_fifth’, Array) #14 /home/www/wordpressWIM19/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘<br />\n[av_head…’, ‘av_two_fifth’) #15 [internal function]: do_shortcode_tag(Array) #16 /home/www/wordpressWIM19/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_but…’, ‘do_shortcode_ta…’, ‘<p>[av_three_fi…’) #17 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(548): do_shortcode(‘<p>[av_three_fi…’) #18 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php(758): ShortcodeHelper::avia_apply_autop(‘<p>[av_three_fi…’) #19 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1160): avia_sc_cell->shortcode_handler(Array, ‘\n[av_three_fift…’, ‘av_cell_one_ful…’, Array) #20 /home/www/wordpressWIM19/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘\n[av_three_fift…’, ‘av_cell_one_ful…’) #21 [internal function]: do_shortcode_tag(Array) #22 /home/www/wordpressWIM19/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_but…’, ‘do_shortcode_ta…’, ‘<br />\n[av_cell…’) #23 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(526): do_shortcode(‘<br />\n[av_cell…’) #24 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row/grid_row.php(622): ShortcodeHelper::avia_remove_autop(‘<br />\n[av_cell…’, true) #25 /home/www/wordpressWIM19/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1160): avia_sc_grid_row->shortcode_handler(Array, ‘<br />\n[av_cell…’, ‘av_layout_row’, Array) #26 /home/www/wordpressWIM19/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘<br />\n[av_cell…’, ‘av_layout_row’) #27 [internal function]: do_shortcode_tag(Array) #28 /home/www/wordpressWIM19/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_but…’, ‘do_shortcode_ta…’, ‘[av_slideshow_f…’) #29 /home/www/wordpressWIM19/wp-includes/class-wp-hook.php(307): do_shortcode(‘[av_slideshow_f…’) #30 /home/www/wordpressWIM19/wp-includes/plugin.php(191): WP_Hook->apply_filters(‘[av_slideshow_f…’, Array) #31 /home/www/wordpressWIM19/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(103): apply_filters(‘the_content’, ‘[av_slideshow_f…’) #32 /home/www/wordpressWIM19/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(197): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build(Object(Yoast\WP\SEO\Models\Indexable), ‘[av_slideshow_f…’) #33 /home/www/wordpressWIM19/wp-includes/class-wp-hook.php(309): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable(1220) #34 /home/www/wordpressWIM19/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #35 /home/www/wordpressWIM19/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #36 /home/www/wordpressWIM19/wp-includes/post.php(4684): do_action(‘wp_insert_post’, 1220, Object(WP_Post), true) #37 /home/www/wordpressWIM19/wp-includes/post.php(4775): wp_insert_post(Array, false, true) #38 /home/www/wordpressWIM19/wp-admin/includes/post.php(426): wp_update_post(Array) #39 /home/www/wordpressWIM19/wp-admin/post.php(227): edit_post() #40 {main} thrown in /home/www/wordpressWIM19/wp-includes/formatting.php on line 1595
Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.Viele Grüße
VeraJune 29, 2022 at 10:53 am #1356825Hi Vera,
I tried updating the product in private, but that seems to be working as expected. Which product are you editing, and what exactly are you doing in order to get the error message which you posted?
Best regards,
RikardJune 29, 2022 at 11:03 am #1356827Hi Rikard,
vielen Dank für deine Antwort.Ich habe folgendes Produkt bearbeitet: https://women-in-mountains.de/produkt/grundkurs-wildwasserkajak-allgaeu/
Die Fehlermeldung erscheint nur, wenn ich etwas in den Daten von WooCommerce ändere – habe hier bei einer Variante die Lagerbestandsmenge manuell verändert. Die Änderung wird auch trotz Fehlermeldung übernommen.Wenn ich eine Veränderung beim Text vornehme ist alles bestens.
Testweise habe ich nun auch eine Änderung bei einem anderen Produkt vorgenommen und dieselbe Fehlermeldung erhalten. Das geschieht ebenso bei dem Produkt, dass Sie getestet haben: https://women-in-mountains.de/produkt/familienkurs-wildwasserkajak-allgaeu/
Vielen Dank und viele Grüße
VeraJune 29, 2022 at 12:54 pm #1356852Hi,
Thanks for the update. I get the feeling that something is wrong with you WooCommerce installation, did you try activating one of the default WordPress themes to see if the same problem happens then?
Best regards,
RikardJuly 5, 2022 at 6:20 pm #1357315Hey!
I have replaced enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-product-slider.php file with this one – https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_0_1/framework/class-avia-product-slider.php. Could you please check the issue once again?
The fix will be included in upcoming version :)
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.