Logged into my web site wordpress dashboard this morning and saw that I had a critical error on my site. The site itself is running fine except that pages with a Gmedia Gallery (gmedia id) were not loading correctly. Went to see what was going on with the Gmedia Gallery plugin and noticed that all my albums and galleries were gone. Tried to create a new album and got this message below when clicking on “Add New Album” button:
*There has been a critical error on this website. Please check your site admin email inbox for instructions.*
[*Learn more about troubleshooting WordPress.*])Haven’t received a single email with instructions as of yet. I deactivated, deleted and reinstalled the Gmedia Gallery plugin. Twice. No luck. Ran PHP scan and got these 9 warnings about Gmedia Gallery and PHP:
Name: Gmedia Gallery
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntryByte.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
78 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 73.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntryLong.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
96 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 91.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntryRational.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
90 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 84.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntrySByte.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
78 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 73.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntryShort.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
97 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 92.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntrySLong.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
78 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 73.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntrySRational.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
80 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 74.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/pel/PelEntrySShort.php
\——————————————————————————————————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————-
76 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$tag” was used, and possibly changed (by reference), on line 71.
\——————————————————————————————————————————————————————————————————————————————————————————-
​
​
FILE: (deleted by OP)/wp-content/plugins/grand-media/inc/core.php
\——————————————————————————————————————————————————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
\——————————————————————————————————————————————————————————————————————————————————————————————–
2389 | WARNING | Since PHP 7.0, functions inspecting arguments, like func\_get\_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$replacements” was used, and possibly changed (by reference), on line 2386.
\——————————————————————————————————————————————————————————————————————————————————————————————–
​
As I am no expert with web sites by any means, I have no real idea what any of this warnings mean other than the Gmedia Plugin will not work with PHP 7.0 and higher. Well I’m guessing that from the wording of each warning. Does anyone have any idea what the issue is and do I need to wait for Rattus to get on it and fix these issues with the plugin? Any help would be appreciated. For now it looks like I’m going to have to find another gallery plugin. Pisses me off a little too since I just bought premium on this plugin (October 2022) and now it no longer works and all my stuff is gone. I did send a message on [https://codeasily.com]) where the plugin is sold.
​
I’m running WordPress 6.1.1. (most uptodate version) and PHP 7.3 (most uptodate verison) Had to update to PHP 7.4.10 as some other plugins would not work correctly or had security issues requiring me to run the newest verison.
Again any help on this would be great.
[ad_2]
You are showing us the possible error warnings this plugin may trigger, not the actual critical PHP error that the plugin caused. Check your server’s PHP error log and look for critical PHP error messages and work from there.
Also, since the error is with the plugin you will have to wait on its developers to fix their code.
I ended up removing the other plugins and changing PHP back to 7.3. Gmedia Gallery seems to be working and since it’s the only one of 2 plugins I actually paid for one that I want to work correctly. Hopefully the other plugins fix their issues.
So for now do not use PHP 7.4 if you have the Gmedia Gallery plugin.