BackupBuddy error
Hi,
I'm getting the following error when trying to backup a Vantage theme using BackupBuddy - we backup many themes with this product without problem:
Fatal error: Uncaught exception 'ReflectionException' with message 'Method pb_backupbuddy_pages::backup() does not exist' in D:\Cognition\Web Work\BTBVMDir\wordpress\
wp-content\themes\vantage\framework\kernel\debug.php: 23 Stack trace: #0 D:\Cognition\Web Work\BTBVMDir\wordpress\
wp-content\themes\vantage\framework\kernel\debug.php( 23): ReflectionMethod->__construct(Object(pb_backupbuddy_pages), 'backup') #1 [internal function]: appthemes_bad_method_visibility('toplevel_page_p.. .') #2 D:\Cognition\Web Work\BTBVMDir\wordpress\
wp-includes\plugin.php(807): call_user_func_array('appthemes_bad_m...', Array) #3 D:\Cognition\Web Work\BTBVMDir\wordpress\
wp-includes\plugin.php(439): _wp_call_all_hook(Array) #4 D:\Cognition\Web Work\BTBVMDir\wordpress\
wp-admin\admin.php(211): do_action('toplevel_page_p...') #5 {main} thrown in D:\Cognition\Web Work\BTBVMDir\wordpress\
wp-content\themes\vantage\framework\kernel\debug.php on line 23
The response from BackupBuddy support is:
----------------------------
Don't really know anything about your theme or what it is trying to do but certainly it is the case that the pb_backupbuddy_pages class does not (quite legitimately) have a "backup" method. It uses the standard __call "magic" method in relation to called methods that are not specifically defined. This is standard PHP functionality.
You will need to refer to the theme developers who should be able to fix the bug in their theme, although as I say I have no idea why the theme should want to be doing anything with BackupBuddy code.
If this theme issue is related to some particular theme functionality then maybe you can disable that but otherwise the theme developers will need to fix their theme to either not do what it is trying to do or handle the particular PHP case properly or handle the generated exception so that it doesn't cause a fatal error for your site, thanks.
----------------------------
Can you please advise.
Many thanks.
Regards,
Graham