Support » Plugin: Ultimate Product Catalog - WordPress Catalog Plugin » function ‘TransferOutBeforeUpgrade’ not found or invalid function name

  • PHP message: PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'TransferOutBeforeUpgrade' not found or invalid function name in wp-includes/class-wp-hook.php on line 288
    PHP message: PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'TransferInAfterUpgrade' not found or invalid function name in wp-includes/class-wp-hook.php on line 290

    This is an error I am getting on version 4.4.17.
    Here is a fix (file: Functions/Version_Upgrade.php):

    add_filter('upgrader_pre_install', 'UPCP_SetUpdateOption', 10, 2);
    add_filter('upgrader_pre_install', 'UPCP_TransferOutBeforeUpgrade', 10, 2); 
    add_filter('upgrader_post_install', 'UPCP_TransferInAfterUpgrade', 10, 2);
Viewing 1 replies (of 1 total)
  • Plugin Author Rustaurius

    (@rustaurius)

    Hi Milovanbem,

    Thanks for letting us know about the error, we’ll test the fix you suggested and then release an update shortly.

Viewing 1 replies (of 1 total)
  • The topic ‘function ‘TransferOutBeforeUpgrade’ not found or invalid function name’ is closed to new replies.