Important:
This support area is for Kalium 3 users only.
Support for Kalium 4 has moved to our new platform at support.laborator.co.
If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.
There is an error in typolab-font-loader.php:160. The error appears only when some bots visit eg. the page https://example.com/?author=10.
The error message is:
2020-04-25T13:10:06+00:00 CRITICAL Uncaught Error: Cannot use object of type stdClass as array in ./wp-content/themes/kalium/inc/lib/laborator/typolab/inc/classes/typolab-font-loader.php:160 Stack trace: #0 ./wp-includes/class-wp-hook.php(287): TypoLab_Font_Loader->enqueueQualifiedFonts('') #1 ./wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 ./wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 ./wp-includes/script-loader.php(2294): do_action('wp_enqueue_scri...') #4 ./wp-includes/class-wp-hook.php(287): wp_enqueue_scripts('') #5 ./wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 ./wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 ./wp-includes/general-templa in ./wp-content/themes/kalium/inc/lib/laborator/typolab/inc/classes/typolab-font-loader.php in Zeile 160Attached the diff of my fixe.
Regards Valentin
Hi Valentin,
Many thanks for sharing the fix with us, I will forward it to the team so they can apply it where it is needed.
Have a great week, take care!
Best regards,
Laborator Team