-
I’m seeing an error in the admin panel relating to the options-general.php file for the Pro version of the player.
Notice: Undefined index: options-general.php in /var/www/html/wp-content/plugins/fv-player-pro/beta/fv-player-pro.class.php on line 381
Here is the code from line 381 for reference:
function admin__menu() {
global $submenu;
if( is_array($submenu) && is_array($submenu[“options-general.php”]) ) {
foreach( $submenu[“options-general.php”] as $key => $aItem ) {
if( $aItem[2] == ‘fvplayer’ ) {
$submenu[“options-general.php”][$key][0] = ‘FV Player Pro’;
$submenu[“options-general.php”][$key][3] = ‘FV Player Pro’;
}
}
}
}The logged in user is a Subscriber and only has read privileges so there aren’t any submenus in the admin menu which I believe is causing the issue.