-
AuthorPosts
-
February 18, 2026 at 7:33 pm #1495200
Dear Support,
I’m receiving the following (private section with login creds) errors on my site when debugging is enabled. I’ve searched the content and can’t find anything (like improperly closed styles) that would cause this. Do you have any ideas? Any help would be appreciated. Thanks.
February 19, 2026 at 3:33 pm #1495235Hey Audica1,
Thank you for the inquiry.
We’re not seeing the errors or notices in the dashboard. Is this occurring on your error logs? What happens when you add the following code to the functions.php file?
add_action( 'wp_enqueue_scripts', function() { if ( ! wp_style_is( 'avia-layout', 'registered' ) ) { wp_register_style( 'avia-layout', false ); } }, 5 );Make sure to create a site backup before adding the code. If the issue persists, please provide the SFTP login detail in the private field so we can check the issue further.
Best regards,
IsmaelFebruary 24, 2026 at 9:21 pm #1495449Thanks, Ismael. I’ve tried adding that and it’s still throwing errors. I’m providing you with the sFTP info privately. Thanks so much.
TB
February 25, 2026 at 6:23 am #1495473Hi,
Thank you for the info.
We have updated the code and confirmed that this removes the notices.
add_action( 'admin_enqueue_scripts', function() { if ( ! wp_style_is( 'avia-layout', 'registered' ) ) { wp_register_style( 'avia-layout', false ); } if ( ! wp_style_is( 'avia-shortcodes', 'registered' ) ) { wp_register_style( 'avia-shortcodes', false ); } if ( ! wp_script_is( 'avia-shortcodes', 'registered' ) ) { wp_register_script( 'avia-shortcodes', false ); } }, 1 );Let us know the result.
Best regards,
IsmaelFebruary 26, 2026 at 5:44 pm #1495544Sorry, Ismael. The issue still remains. You will see the issue if you try to go to the Posts or Pages page.
February 27, 2026 at 6:22 am #1495554Hi,
How did you add the code before? We didn’t find a functions.php file in the child theme, so we created one and added the admin_enqueue_scripts hook, which removed the notices in the Pages panel. Please make sure to purge the cache before checking.
Best regards,
IsmaelMarch 4, 2026 at 1:31 am #1495709Ismael,
It looks like clearing cache did it. Thanks so much!
March 4, 2026 at 5:55 am #1495713 -
AuthorPosts
- The topic ‘“Avia Module” errors being thrown’ is closed to new replies.
