-
-
Save encoderit-arman/589bb0bcf79bec843120b5754d6f46a6 to your computer and use it in GitHub Desktop.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'pthfc_add_form_function' not found or invalid function name in C:\laragon\www\wordpress\wp-includes\class-wp-hook.php on line 287
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_menu_page( 'PDF TO WP FORM CONVERTER', 'PDF TO WP FORM CONVERTER', 'manage_options', 'pthfc-converter', 'pthfc_main_description_fucntion' ); | |
| add_submenu_page("pthfc-converter", "Add Form", "Add Form", 'manage_options', "ptwc-add-form", "pthfc_add_form_function"); | |
| Change To : | |
| add_menu_page( $this->plugin_name, 'PDF TO WP FORM CONVERTER', 'manage_options', 'pthfc-converter', array($this,'pthfc_main_description_fucntion') ); | |
| add_submenu_page("pthfc-converter", "Add Form", "Add Form", 'manage_options', "ptwc-add-form", array($this,'pthfc_add_form_function')); | |
| You can follow this blog: | |
| http://tumbledesign.com/fix-notice-has_cap-was-called-with-an-argument-that-is-deprecated-since-version-2-0-in-wordpress/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment