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

ErrorException: Warning: A non-numeric value encountered

XMLWordPrintable

    • 2
    • Block: Covers

      Sentry Issue: PLANET4-MN

      ErrorException: Warning: A non-numeric value encountered
        File "/wp-content/plugins/planet4-plugin-gutenberg-blocks/classes/blocks/class-carouselheader.php", line 115, in P4GBKS\Blocks\CarouselHeader::prepare_data
          $y = isset( $slide['focal_points']['y'] ) ? round( $slide['focal_points']['y'] * 100, 0 ) . '% ' : '50%';
        File "/wp-content/plugins/planet4-plugin-gutenberg-blocks/classes/blocks/class-base-block.php", line 38, in P4GBKS\Blocks\Base_Block::render
          $data = $this->prepare_data( $attributes );
      ...
      (10 additional frame(s) were not displayed)
      

      Copied on Github

            dpivo Dylan Pivo (Inactive)
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: