-
Posted in : Interioz
-
Notice: Functie WP_Styles::add werd verkeerd aangeroepen. De stijl met de handle “interioz-tutor” is ingevoegd met afhankelijkheden die niet zijn geregistreerd: tutor-frontend. Lees Foutopsporing in WordPress (https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/) voor meer informatie. (Dit bericht is toegevoegd in versie 6.9.1.) in /var/www/vhosts/verenigingvloerenmeester.nl/httpdocs/wp-includes/functions.php on line 6170
(https://verenigingvloerenmeester.nl/wp-admin/about.php)Code kwaliteit is zeer matig van deze plugin
Woocommerce geeft ook al waarschuwingen aan.
De notice word boven aan in de website getoond.Hi,
Thanks for the report, and sorry for the trouble.
There are two separate things happening here:
1) Why it’s showing on your site
That line is a PHP notice, not an error — it doesn’t break anything. It’s only appearing on your live site because debug display is currently switched on in production, which normally should be off on a live site. The quickest fix (and best practice) is to open wp-config.php and either set:define( 'WP_DEBUG', false );
or, if you’d like to keep logging but stop notices from showing to visitors:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true );
Once debug display is off, this notice — and the WooCommerce ones — will no longer appear at the top of your site for visitors.
2) The actual cause
The notice comes from the theme registering a Tutor LMS–related stylesheet (interioz-tutor) that declares tutor-frontend as a dependency. WordPress 6.9.1 introduced a stricter check that warns when a declared dependency isn’t registered — which happens when the Tutor LMS plugin isn’t active on the site. So:If you don’t use Tutor LMS: the notice is harmless, and turning debug display off (above) is all you need.
If you do use Tutor LMS: please make sure the plugin is active and up to date, which registers the tutor-frontend handle and clears the notice.Either way, I’ll log this with our developer so the theme only declares that dependency when Tutor LMS is actually active — that’s the proper long-term fix and will come in a theme update.
Let me know if you’d like me to apply the wp-config.php change for you, or if anything still shows after debug display is turned off.
Thanks,
SerkanDankjewel Serkan, het probleem lijkt te zijn verholpen. Super!
Nu heb ik nog een enkele vraag:
Hoe kan ik de opmaak van elementen en tekst in de shop wijzigen?
De typografie bijvoorbeeld is heel erg klein. Kan ik nog wat aan de opmaak doen. En wat moet ik dan precies zijn?https://verenigingvloerenmeester.nl/product/vloerenmeester-pasmal/
Nu heb ik nog een enkele vraag:
Hoe kan ik de opmaak van elementen en tekst in de shop wijzigen?
De typografie bijvoorbeeld is heel erg klein. Kan ik nog wat aan de opmaak doen. En wat moet ik dan precies zijn?https://verenigingvloerenmeester.nl/product/vloerenmeester-pasmal/
Hi,
No problem at all — and apologies for the slow reply on this one. Glad to hear the notice is now resolved.
For the shop typography you have two options, depending on how much control you want:Theme-wide fonts and sizes
Go to Appearance → Customize and look through the typography/font settings there. Anything you change in the Customizer applies across the whole site, including the shop pages.
Fine-tuning the shop and product pagesFor precise control over individual elements on the product pages (title, price, description, buttons, etc.), the cleanest way is a small piece of custom CSS. Add it under Appearance → Customize → Additional CSS — it’s safe there and won’t be affected by theme updates.
Here’s a starting point you can paste in and then adjust the sizes to taste:
/* Product page typography */ .woocommerce div.product .product_title { font-size: 32px; } .woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 22px; } .woocommerce div.product .woocommerce-product-details__short-description, .woocommerce div.product .woocommerce-tabs, .woocommerce div.product .woocommerce-Tabs-panel { font-size: 16px; line-height: 1.7; } .woocommerce div.product form.cart .button { font-size: 16px; }Just change the px values until the sizing looks right. If any line doesn’t seem to take effect, add !important right before the semicolon, for example: font-size: 16px !important;
The same approach works for the main shop/catalog page if you’d like to enlarge the product titles and prices there too.
If you let me know exactly which elements feel too small and the sizes you’d prefer, I’m happy to put together the precise CSS for you so you can paste it straight in.
Thanks,
Serkan
You must be logged in and have valid license to reply to this topic.