This topic has 2 replies, 2 voices, and was last updated 11 years by Abe.

  • Author
  • #8884
     sweetqueen
    Participant

    I added this to the Functions Child Theme as stated here: https://archived.seventhqueen.com/forums/topic/extra-membership-restrictions-how-to

    And I get these errors in many places:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘kleo_my_custom_restrict’ not found or invalid function name in /home/content/81/10160481/html/wp-includes/plugin.php on line 429

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/81/10160481/html/wp-includes/plugin.php:429) in /home/content/81/10160481/html/wp-includes/pluggable.php on line 896

    Did I do something wrong or is there another fix?

    #8887
     sweetqueen
    Participant

    Oh, I see. The How To I followed was in order to get the code from your main Functions, paste it and change it inside the Child Functions. So I had it running twice which probably messed something up. Is that right?

    #8944
     Abe
    Keymaster

    Hi,
    You just put the code from the How to into sweetdate-child/functions.php
    You don’t have to alter sweetdate/functions.php

    make sure to put the exact code in sweetdate-child/functions.php

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?