Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gerl

    (@gerl)

    Hi,

    Yes, may I know how to reach out privately? So I can check why it is not working on our site.

    Thread Starter gerl

    (@gerl)

    Hi,

    Thank you for the response.

    Yes, I pasted it after the very end of the file. It doesn’t have ?> on the last line.

    This is the glimpse towards the last end of the functions.php including the code you suggested.

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);

    add_filter(‘avf_title_args’, ‘fix_single_post_title’, 10, 2);
    function fix_single_post_title($args,$id)
    {
    if ( $args[‘title’] == ‘Blog – Latest News’ )
    {
    $args[‘title’] = get_the_title($id);
    $args[‘link’] = get_permalink($id);
    $args[‘heading’] = ‘h1’;
    }

    return $args;
    }

    function ctct_support_ignore_form_field( $ignored_keys ) {
    $ignored_keys[] = ‘0939723c9f8e29360eb0cabeab8ef457’;
    $ignored_keys[] = ‘WP55T3S7XJS2’;

    return $ignored_keys;

    }
    add_filter( ‘constant_contact_ignored_post_form_values’, ‘ctct_support_ignore_form_field’ );

    Did I miss anything here?

    Pls. advise.

    Thank you.

    Thread Starter gerl

    (@gerl)

    I’ve tried inserting the code to the functions.ph and it made our site’s server down.

    The site is now fixed by the plugin seems to be causing problems to our site. It still won’t work.

    I read somewhere that it needs 5.4 PHP version to run, we are running 5.4.45 PH version.

    Please advise.

    Thread Starter gerl

    (@gerl)

    Here is what is inside the debug log:

    [2018-07-31 11:05:57] API.INFO: Contact set to be created [“Extra information”,[{“form”:”Schedule Your Visit”}]] []
    [2018-07-31 11:05:57] API.INFO: json.field.invalid: #/0939723c9f8e29360eb0cabeab8ef457: Property was found but is not permitted at this location. [“Extra information”,[“[object] (stdClass: {\”error_key\”:\”json.field.invalid\”,\”error_message\”:\”#/0939723c9f8e29360eb0cabeab8ef457: Property was found but is not permitted at this location.\”})”]] []
    [2018-07-31 11:05:57] API.INFO: json.field.invalid: #/WP55T3S7XJS2: Property was found but is not permitted at this location. [“Extra information”,[“[object] (stdClass: {\”error_key\”:\”json.field.invalid\”,\”error_message\”:\”#/WP55T3S7XJS2: Property was found but is not permitted at this location.\”})”]] []

Viewing 4 replies - 1 through 4 (of 4 total)