Debug in WP backend

The warning states the issue is coming from custom code as in core WP no function as add_role_caps_to_job_agent exists. Try searching for add_role_caps_to_job_agent in wp-content, to see how this function is getting called and fix or uncomment the call. The other two notices will disappear once the first notice is solved as WP is trying … Read more

Warning and fatal error

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘sanitize_comment_cookies’ not found or invalid function name in /homepages/9/d346623364/htdocs/wp-includes/class-wp-hook.php on line 286 This means you have a function named sanitize_comment_cookies hooked to an action or filter, either in your theme or a plugin, but that function is not available. Look for the code: add_action(‘some_action_name’, … Read more

Call function with button and return response

Based on the limited detail of your question something as per the following is a rough gist of what you could do. In your theme functions.php file: <?php function handle_request () { if (isset($_GET[‘custom_id’]) && isset($_GET[‘custom_id_nonce’]) ) { if ( wp_verify_nonce($_GET[‘custom_id_nonce’], ‘custom_id_action’) ) { $id = $_GET[‘custom_id’]; // FIRST // do something with $id // … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)