Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7125

Fix filemtime() warning issue of GF client side file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Should have 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

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

              Created:
              Updated:
              Resolved: