Error Codes
-
Hello support
I have some issues with the Theme among this sending on a contact form in Divi Builder. In email adress it says invalid email (but the email address is valid). In Theme TwentytwentyThree not a problem. It accepts the email address and send the message on the contact form.
I tested the Ashe Theme and it comes up with a lot of errors and warnings. None of them appear in TwentyTwentyThree. It’s clean and with no warnings. In Ashe Theme I get:
- WARNING: More than one text-domain is being used in this theme. This means the theme will not be compatible with www.remarpro.com language packs. The domains found are ashe-pro, ashe, wordpress-importer, tgmpa, acf, field_groups, post_type, taxonomy, min, role, max.
- WARNING: Found a translation function that is missing a text-domain in the file plugins/acf-pro/pro/fields/class-acf-repeater-table.php. Function _x, with the arguments ‘%1$s of %2$s’, ‘paging’.Line 470: _x( ‘%1$s of %2$s’, ‘paging’ ),
- WARNING: Found a translation function that is missing a text-domain in the file plugins/acf-pro/pro/fields/class-acf-field-flexible-content.php. Function _n, with the arguments ‘layout’, ‘layouts’.Line 1022: $identifier = _n( ‘layout’, ‘layouts’, $min );
- WARNING: Found a translation function that is missing a text-domain in the file plugins/acf-pro/includes/rest-api/class-acf-rest-api.php. Function __, with the arguments ‘acf’.Line 274: __( sprintf( ‘Unable to determine the %s object ID or type. The %s property cannot be updated.’, get_class( $object ), $property ), ‘acf’ ),
- WARNING: Found a translation function that is missing a text-domain in the file plugins/acf-pro/includes/admin/views/global/form-top.php. Function __, with the arguments ‘Add title’.Line 3: $acf_title_placeholder = apply_filters( ‘enter_title_here’, __( ‘Add title’ ), $post );
- WARNING: Found a translation function that has an incorrect number of arguments in the file plugins/acf-pro/pro/fields/class-acf-field-gallery.php. Function _n, with the arguments ‘%1$s requires at least %2$s selection’, ‘%1$s requires at least %2$s selections’, min, ‘acf’.Line 845: $valid = _n( ‘%1$s requires at least %2$s selection’, ‘%1$s requires at least %2$s selec
- WARNING: Found a translation function that has an incorrect number of arguments in the file plugins/acf-pro/pro/fields/class-acf-field-flexible-content.php. Function _n, with the arguments ‘%1$s must contain at most %2$s %3$s layout.’, ‘%1$s must contain at most %2$s %3$s layouts.’, max, ‘acf’.Line 1738: ‘%1$s must contain at most %2$s %3$s layout.’,
- WARNING: Found a translation function that has an incorrect number of arguments in the file plugins/acf-pro/pro/fields/class-acf-field-flexible-content.php. Function _n, with the arguments ‘%1$s must contain at least %2$s %3$s layout.’, ‘%1$s must contain at least %2$s %3$s layouts.’, min, ‘acf’.Line 1722: ‘%1$s must contain at least %2$s %3$s layout.’,
- WARNING: Found a translation function that has an incorrect number of arguments in the file plugins/acf-pro/includes/fields/class-acf-field-relationship.php. Function _n, with the arguments ‘%1$s requires at least %2$s selection’, ‘%1$s requires at least %2$s selections’, min, ‘acf’.Line 789: $valid = _n( ‘%1$s requires at least %2$s selection’, ‘%1$s requires at least %2$s selec
- WARNING: Found
="<?php esc_html_e
in inc/options/theme-options.php. Use esc_attr_e() inside HTML attributes, and esc_url() for link attributes. A manual review is needed.Line 86: <input type=’button’ value='<?php esc_html_e( ‘Activate’, ‘ashe-pro’ ); ?>’ data-style=’style_1′ clas - WARNING: Found
><?php esc_attr_e
in plugins/acf-pro/pro/fields/class-acf-field-flexible-content.php. Only use esc_attr_e() inside HTML attributes. Use esc_html_e() between HTML tags. A manual review is needed.Line 558: <label class=’acf-fc-layout-name reorder-layout’ ><?php esc_attr_e( ‘Layout’, ‘acf’ ); ?></label> - WARNING: Found
><?php echo esc_attr(
in templates/header/featured-links.php. Only use esc_attr() inside HTML attributes. Use esc_html() between HTML tags. A manual review is needed.Line 31: <h6><?php echo esc_attr( ashe_options( ‘featured_links_title_1’ ) ); ?></h6>Line 45: <h6><?php echo esc_attr( ashe_options( ‘featured_links_title_2’ ) ); ?></h6>Line 59: <h6><?php echo esc_attr( ashe_options( ‘featured_links_title_3’ ) ); ?></h6>Line 73: <h6><?php echo esc_attr( ashe_options( ‘featured_links_title_4’ ) ); ?></h6>Line 87: <h6><?php echo esc_attr( ashe_options( ‘featured_links_title_5’ ) ); ?></h6>Line 101: <h6><?php echo esc_attr( ashe_options( ‘featured_links_title_6’ ) ); ?></h6> - WARNING: Could not find a copyright notice for the theme. A copyright notice is needed if your theme is licenced as GPL. Learn how to add a copyright notice (opens in a new window).
- WARNING: wp_get_http() found in the file inc/options/import/wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.Line 906: $headers = wp_get_http( $url, $upload[‘file’] );
- WARNING: screenshot.png is 850.7 KB in size. Large file sizes have a negative impact on website performance and loading time. Compress images before using them.
- WARNING: fopen was found in the file inc/options/import/parsers.php. File write operations should are avoided unless necessary.Line 417: $fp = $this->fopen( $file, ‘r’ );Line 643: function fopen( $filename, $mode = ‘r’ ) {Line 646: return fopen( $filename, $mode );
- WARNING: fopen was found in the file inc/options/import/parsers.php. File read operations should use file_get_contents() but are discouraged unless required.Line 417: $fp = $this->fopen( $file, ‘r’ );Line 643: function fopen( $filename, $mode = ‘r’ ) {Line 646: return fopen( $filename, $mode );
- WARNING: file_put_contents was found in the file plugins/acf-pro/includes/local-json.php. File write operations should are avoided unless necessary.Line 347: $result = file_put_contents( $file, acf_json_encode( $post ) );
- WARNING: fclose was found in the file inc/options/import/parsers.php. File write operations should are avoided unless necessary.Line 466: $this->fclose($fp);Line 661: function fclose( $fp ) {Line 664: return fclose( $fp );
I look forward to a solution and update that will fix the issues with Ashe Theme because except from this it works well.
Best Regards
Claus Gamborg, webmaster
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error Codes’ is closed to new replies.