Fix filemtime() warning issue of GF client side file

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Should have
    • None
    • 2
    • Forms

      Description

      I'm getting this warning issue when rendering a Gravity Forms
      Warning: filemtime(): stat failed for /app/source/public/wp-content/themes/planet4-master-the,e/assets/src/js/gravityforms-client-side.js in /app/source/public/wp-content/themes/planet4-master-theme/src/GravityFormsExtensions.php on line 481

      Solution

      The issue happens because the file does not exist, and the code should check that

            Assignee:
            Dan Tovbein
            Reporter:
            Dan Tovbein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: