Open VidYen opened 6 years ago
I figured this one out. It's not the code on line 318, but rather if you accidently set pid to something that doesn't exist, it lets you create a entry for that type.
Creating a point type of that type (say pid4) will make the error go away. Will need to either make it check to see if pid exists or make it so it doesn't freak out when it does now find a name.
$points .= '<b>' . $type->sum . '</b> ' . $row_data2->name. '<br>';
This in particular is where I believe it phreaks out: $row_data2->name
Where it does not find a name (since the entry was created via miner to a pid that didn't exist) it gets bothered.
have i solved this?
Notice: Trying to get property 'name' of non-object in /home/vidyen001/public_html/fabius/wp-content/plugins/vidyen-point-system-vyps/vidyen-point-system-vyps.php on line 318
When delete user. Not critical, but need to fix before 4.09