Title: Envira gallery errors
Last modified: December 21, 2020

---

# Envira gallery errors

 *  [wine4all](https://wordpress.org/support/users/wine4all/)
 * (@wine4all)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/)
 * I’m trying to find a gallery to use. I installed Envira Gallery and after adding
   some photos I get these warnings on the page…
    dkapphotography.com
 * this is the errors:
 * Warning: Only the first byte will be assigned to the string offset in /srv/disk5/
   3598884/www/dkapphotography.com/wp-includes/class.wp-scripts.php on line 492
 * Warning: Only the first byte will be assigned to the string offset in /srv/disk5/
   3598884/www/dkapphotography.com/wp-includes/class.wp-scripts.php on line 492
 * Warning: Only the first byte will be assigned to the string offset in /srv/disk5/
   3598884/www/dkapphotography.com/wp-includes/class.wp-scripts.php on line 492
 * Main Gallery
 * How do I fix this problem?
    -  This topic was modified 5 years, 3 months ago by [wine4all](https://wordpress.org/support/users/wine4all/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fenvira-gallery-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13818758)
 * These are not errors, they are warnings.
    Causes could include : – outdated plugins,–
   outdated wordpress core, – outdated PHP version on the server, – plugin or theme
   conflicts,
 *  Thread Starter [wine4all](https://wordpress.org/support/users/wine4all/)
 * (@wine4all)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13818914)
 * I just set up this account yesterday. Everything is updated.
    I will remove Envira
   and try another gallery app that works. Also tried Modula and it has problems
   too.
 * Can you recommend any gallery app?
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13818953)
 * I use Modula most of the time.
 * The warning is most likely coming from your php version.
    Your host likely updated
   to PHP 8 from 7.x
 * Personally, I would just leave it, these are pretty common. The plugin author
   will update at some point, or let them know.
    [https://plugintests.com/plugins/wporg/envira-gallery-lite/latest](https://plugintests.com/plugins/wporg/envira-gallery-lite/latest)
 *  Thread Starter [wine4all](https://wordpress.org/support/users/wine4all/)
 * (@wine4all)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13818972)
 * Thank you. I’ll change the PHP to an older one and see if that helps.
 * I can also go back to Modula but it would not remove title text from images even
   after I removed them in settings. Seems like all the photo Galleries are not 
   that good from my experience.
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13818978)
 * > Thank you. I’ll change the PHP to an older one and see if that helps.
 * Why?
    Recommend not doing this.
 * I assume you have have disabled front-end warnings from displaying from php?
 * The likelyhood of security implications coming from a warning is far less than
   downgrading your php version.
 *  Thread Starter [wine4all](https://wordpress.org/support/users/wine4all/)
 * (@wine4all)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13819010)
 * just changed PHP to the default which is 7.3.25 and now the warnings are gone.
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13819405)
 * Again, not recommended.
 *  Thread Starter [wine4all](https://wordpress.org/support/users/wine4all/)
 * (@wine4all)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13819708)
 * Turns out that the gallery doesn’t work with PHP 8. So going to the default PHP
   7.3.25 solved the problem. The warnings are gone off the page.
 * Thanks
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13820418)
 * You should really just convert back to php8, then turn off your Warnings and 
   Notices :
    [https://aristath.github.io/blog/wp-hide-php-errors](https://aristath.github.io/blog/wp-hide-php-errors)
 *  [mcpat1993](https://wordpress.org/support/users/mcpat1993/)
 * (@mcpat1993)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13826177)
 * Thanks, [@corrinarusso](https://wordpress.org/support/users/corrinarusso/) so
   much for your comment and the directing to the aristath blog. That worked for
   me. I kept PHP version 8 and the warning (same as the guy who posted this) which
   was displaying on my main page is now gone!
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13826508)
 * [@mcpat1993](https://wordpress.org/support/users/mcpat1993/)
    Great! Not sure
   why the OP wasn’t just doing the same – going back and forth on this thread took
   longer than solving the problem!
 *  [mcpat1993](https://wordpress.org/support/users/mcpat1993/)
 * (@mcpat1993)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13826542)
 * [@corrinarusso](https://wordpress.org/support/users/corrinarusso/) I wasn’t understanding
   that part either. They don’t come up with new versions of PHP for the fun of 
   it. For me the choice was clear – I, too, have a site where everything is brand
   new, and if there’s a tool that relies on a legacy PHP version, I’d prioritize
   something that is being actively maintained.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Envira gallery errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 3 participants
 * Last reply from: [mcpat1993](https://wordpress.org/support/users/mcpat1993/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/envira-gallery-errors/#post-13826542)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
