NextGen Gallery plugin causing [] operator error while editing page
-
Hi!
Recently I moved a client’s website to a new server and I’ve run into some problems.
Little history:
After moving I couldn’t access WordPress, I got “Error thrown [] operator not supported for strings”. I’ve found that the problem was with Revolution Slider and PHP version, I changed some code and it was fine.The current problem:
While editing a page when I click the preview or try to save it, it gives “Error thrown [] operator not supported for strings” again. I found that after deactivating NextGen Gallery, previewing or saving edits will result in HTTP 500 error.Solutions I’ve tried so far:
I’ve updated everything I could (WordPress itself, plugins).
I tried checking the plugin’s PHP files but the syntax seems up-to-date.
I’ve tried fixing the HTTP error but I would need the plugin activated anyway (there’s a bunch of galleries on the website).
None of this helped.
I also thought of reinstalling the plugin but haven’t tried it yet.Info (checked with WP-ServerInfo plugin):
WordPress version: 4.9.7 (same error with previous version)
NextGen Gallery version: 3.0.6 (I also have NextGen Pro 1.6.4)
PHP version: 7.1.19
PHP Memory Limit: 1,0 GiB (although sometimes it changes to “unknown” despite the php.ini settings)
PHP Max Upload Size: 64,0 MiB
PHP Max Post Size: 76,0 MiB
PHP Max Script Execute Time: 300sCan somebody please help me with this?
- The topic ‘NextGen Gallery plugin causing [] operator error while editing page’ is closed to new replies.