URGENT – Parse error: syntax error, unexpected ')'
-
Please help, I can’t access my online store. When I tried to go on to my site this morning I found the following error:
Parse error: syntax error, unexpected ‘)’ in /home/theapiar/public_html/wp-content/plugins/backwpup/inc/class-admin.php on line 402
The relevant area of code for that plugin is as follows:
public function admin_page_logs( $page_hooks ) { $this->page_hooks[ 'backwpuplogs' ] = add_submenu_page( 'backwpup', __( 'Logs', 'backwpup' ), __( 'Logs', 'backwpup' ), 'backwpup_logs', 'backwpuplogs', array( 'BackWPup_Page_Logs', 'page' ) ); add_action( 'load-' . $this->page_hooks[ 'backwpuplogs' ], array( 'BackWPup_Admin', 'init_generel' ) ); add_action( 'load-' . $this->page_hooks[ 'backwpuplogs' ], array( 'BackWPup_Page_Logs', 'load' ) ); add_action( 'admin_print_styles-' . $this->page_hooks[ 'backwpuplogs' ], array( 'BackWPup_Page_Logs', 'admin_print_styles' ) ); add_action( 'admin_print_scripts-' . $this->page_hooks[ 'backwpuplogs' ], array( 'BackWPup_Page_Logs', 'admin_print_scripts' ) ); return $page_hooks; }
I can’t see anything wrong with the code, but there has to be something there. Can anyone help me out with the unexpected ‘)’ – I don’t want to delete the wrong thing.
The full file can be found at pastebin.com/3xPDiVcu
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘URGENT – Parse error: syntax error, unexpected ')'’ is closed to new replies.