Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1496436
    Philipp Nepraunig
    Guest

    Hello Kriesi Team,

    I am writing here, because I couldnt find a “Report Theme Issues/Bugs” Form.

    With Enfold 7.1.4, a large number of PHP notices are generated as soon as WordPress debug mode is enabled.

    The notices are mainly:
    • Function WP_Scripts::add was called incorrectly
    • Function WP_Styles::add was called incorrectly

    Did you already notice this issue, and are you currently working on a fix?
    Below is what I found during debugging.

    Kind regards,

    #1496455

    Hey Philipp Nepraunig,

    Thank you for the inquiry.

    We are aware of the issue, and a fix will be included in the next patch. In the meantime, you can add the code provided in the following thread to the functions.php file:

    https://kriesi.at/support/topic/not-registered-dependencies-for-enfold-css-and-js/#post-1495467

    Let us know the result.

    Best regards,
    Ismael

    #1496465

    Hi Ismael,

    I tested the fixes provided in post 1495457, but unfortunately none of them worked in our case.
    Below are my test resutls.

    Kind regards,

    #1496492

    Hi!

    Thank you for the update.

    The code should fix the deps issue with avia-layout and avia-shortcodes — make sure to add this hook in the functions.php file. Regarding the Real Media plugin, try to set the Enfold > Enfold > Disable Features > Self Hosted Videos And Audio Features (WP-Mediaelement Scripts) to Always load media features (default behavior).

    Let us know the result.

    Best regards,
    Ismael

    #1496495

    Good morning Ismael,

    Thank you for the information. In that case, I will put the code from answer #1495467 back into functions.php.

    Setting it to “Always load media features (default behavior)” fixed the Real Media plugin issues.

    Kind regards,

    #1496520

    Hi,

    Great! Glad to know that the issues have been resolved. Please don’t hesitate to open another thread if you encounter any more issues or have further questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘PHP Notices with Enfold 7.1.4 on WordPress 6.9.4’ is closed to new replies.