• Resolved lauranl

    (@lauranl)


    Hello!
    I have this warning into my log file:
    PHP Warning: Invalid argument supplied for foreach() in [info-about-website-obfuscated]/above-the-fold-optimization/includes/optimization.class.php on line 280
    I think the issue is there from 4.8 version.
    Thank you,
    Laura

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author optimalisatie

    (@optimalisatie)

    Hi Laura,

    The error is not related to v4.8. It is most likely a conflict with a different plugin that unsets or overrides the WordPress script queue configuration.

    `php
    /**
    * Get script dependencies
    */
    public function wp_script_dependencies()
    {
    global $wp_scripts;
    `

    For some reason on your WordPress installation $wp_scripts is undefined.

    Our team will investigate the issue. If you have any additional information that may lead to a solution please let us know!

    Thread Starter lauranl

    (@lauranl)

    Hello!
    Thank you very much for your reply.
    Yes I have another plugins for performance, I’ve deactivated these: Scripts to Footer and Google Webfont Optimizer.
    The warning is popping up from time to time now.
    I’ll review my server. I’m using gulp into my server (a VPS) to have custom css files for pages/posts.
    Best Regards,
    Laura

    Plugin Author optimalisatie

    (@optimalisatie)

    Hi lauranl,

    Please let us know if you managed to resolve the issue.

    Thread Starter lauranl

    (@lauranl)

    Hi!
    I think it’s resolved because I’ve not seen the issue from past 15th August into logs.
    I’ve reactivated also the Scripts to footer plugin.
    Best regards,
    Laura

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP error line 280’ is closed to new replies.