-
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,
SerkanThank you, Serkan,
I will get back to you on that.
I have now discovered another problem that is urgent. Because ordering isn’t going well. Very often, the payment button does not appear on the checkout page. What is going wrong here?
This applies to the mobile and desktop versions.
Can you fix it?
Hi Serkan,
I managed to do it using a CSS rule code in the extra CSS, but I don’t know if that is the right way to do it.
Could you let me know?
And another question:
The website is really incredibly slow. Can we do something about that? How is this possible?
Thanks in advance for your help!! :)
Hi,
Thanks for the update — good to hear the button is showing again. Let me take both points in turn.
1) The missing payment button (and the CSS you added)
When the button disappears intermittently like this, on both mobile and desktop, the cause is almost always a JavaScript conflict on the checkout page. The usual suspects, in order of likelihood:
– A caching / speed / optimisation plugin that minifies, combines or defers JavaScript. This very commonly breaks WooCommerce checkout. If you have one (WP Rocket, LiteSpeed Cache, Autoptimize, W3 Total Cache, SG Optimizer, etc.), exclude the cart, checkout and my-account pages from the cache and turn off JS combine/defer — or temporarily switch JS optimisation off to test.
– A JavaScript error from a plugin (often the payment gateway itself, or another plugin clashing with it). Quickest way to catch it: open the checkout page when the button is missing, press F12, open the Console tab, and look for any errors in red — they point straight to the script causing it.
– A plugin/theme conflict. The standard WooCommerce test is to deactivate every plugin except WooCommerce and your payment gateway, confirm the button stays put, then reactivate them one at a time until it breaks — ideally on a staging copy so the live shop isn’t disrupted.To help me narrow it down, could you let me know:
– Which payment gateway(s) you use (Mollie, Stripe, iDEAL, etc.)?
– Whether any caching/optimisation plugin is active?
– And paste the exact CSS you added, so I can confirm it isn’t causing any harm in the meantime.If you’d rather, I can take a look directly with the admin login from your first message and check the console and plugin side myself.
2) The site being slow
Slowness almost always comes down to one of two things — the server taking too long to respond, or too much weight loading in the browser — and the fixes are quite different, so the first step is to measure rather than guess. Could you run the site through one of these and share the result?
– https://pagespeed.web.dev
– https://gtmetrix.comThe figure to look at is the server response time (TTFB). If it’s high, it’s a hosting/backend matter — worth checking you’re on PHP 8.1 or newer under Tools → Site Health. If the server response is fine but pages are still slow, it’s front-end: usually large unoptimised images and render-blocking scripts.
For a WooCommerce shop the highest-impact improvements are normally:
– A proper caching plugin — but set to exclude cart/checkout/my-account from the cache and from JS combine/defer. (That’s the same setting that protects your checkout button, so the two issues are linked.)
– Image optimisation and lazy loading.
– PHP 8.1 or newer.
– Removing any unused plugins.Send me the PageSpeed or GTmetrix output and I’ll tell you which of these will give the biggest win first, in priority order — and I can apply the safe ones for you if you’d like.
Apologies for any back-and-forth, and thanks for your patience. Send those details over and I’ll get this sorted.
Thanks,
Serkan
You must be logged in and have valid license to reply to this topic.