do you have any good thoughts on fixing this part? I just did a fresh install looking at most other things but the admin plugins page comes up with no plugins installed showing even though i can see them in the side menu
It may not be this part that is the problem actually. There are various parts throughout the code where "isset" is used to test whether an object or array has been set. That seems to be breaking in certain places but not others.
Hmm... I'm not sure why it's doing that but I didn't do a base install after making the change. I don't see any problems in my admin plugin page. If you make the changes to an existing install, do you have the same problem?
looks like php7 does not like arrays of objects and when using isset against them it is showing false even though they exist On PluginFunctions around line 60-90, isset is used heavily to step through the in memory plugin hooks. I have changed most of these calls to use array_key_exists instead and got the admin plugin management page to load properly. I have to check for the main site and also for the loading of plugins. there may be many places where this needs changing. Did you see a similar problem on php7?
Admittedly, I don't remember as it was so long ago when I looked into the problem. I do know the specific changes I made on line 163 in Hotaru.php and line 204 in /libs/Initialize.php made everything work properly. I'm wondering if you're seeing different results because your change allows for backward compatibility.
your change works and it still works on php5> as well. so lets go with it. I have it working on tamiln's site now thanks
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ezSQL_mysql has a deprecated constructor in /home/tamilaru/public_html/libs/extensions/ezSQL/mysql/ez_sql_mysql.php on line 33 Fatal Error: ezSQL_mysql requires mySQL Lib to be compiled and or linked in to the PHP engine
To fix: ...try changing line 48 which should look like: Code: function ezSQL_mysql($dbuser='', $dbpassword='', $dbname='', $dbhost='localhost', $encoding='') to: Code: function __construct($dbuser='', $dbpassword='', $dbname='', $dbhost='localhost', $encoding='') Let me know if that fixes the other error: