Home Forums ConsultStreet Pro Error throwing – ConsultStreet_Customizer_Sanitize::get_instance();

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14098
    Kim Pritchard
    Participant

    Hi there, Can anyone help me with this error that is throwing on my staging site?
    Its not showing when logged into WP. New to this so any suggestions is welcome.

    #14100
    Kim Pritchard
    Participant

    Error is last line of this PHP code.

    /**
    * Sanitize Radio Buttonset control.
    *
    * @param string $val The value to be sanitized.
    * @param object $setting Control setting.
    *
    * @return string
    */
    public static function sanitize_radio( $val, $setting ) {

    // Radio key must be slug, which can contain lowercase alphanumeric characters, dash, low dash symbols only.
    $val = sanitize_key( $val );

    // Retrieve all choices.
    $choices = $setting->manager->get_control( $setting->id )->choices;

    // Ensure the value is among the choices. If fails test, return default.
    return array_key_exists( $val, $choices ) ? $val : $setting->default;

    #14113
    themearile
    Keymaster

    Hi Kim Pritchard

    Thanks for contacting us.

    We have checked this issue in our and this does not display on our end.

    So please share your site URL and WordPress version which you are using so we can help you better.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.