• Hello
    I activated a theme and the theme contain f letter that appear in browser top left in both front and backend.
    how I can locate or discover the file containing this error to fix it?

    • This topic was modified 4 years, 10 months ago by updirty.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator t-p

    (@t-p)

    Looking at your site, you use listeo theme.

    Since you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations: https://themeforest.net/item/listeo-directory-listings-wordpress-theme/23239259

    Commercial products are not supported in these forums.

    Thread Starter updirty

    (@updirty)

    I totally appreciate, but is there any other way?
    usually I prefer to test my projects with nulled theme then buy official one when am totally like the results.

    [Moderator note: Please, No bumping].

    Hey @updirty,

    That generally comes from a typo or stray letter where ever you insert JavaScript code.

    Try checking in the places you add custom JavaScript. In this example, I type in a random “f” in the Insert Headers and Footers plugin.

    View post on imgur.com

    I hope that helps 🙂

    Cheers,

    Mark

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Nulled themes are often corrupted with malicious content. We really cannot support nulled themes here.

    Thread Starter updirty

    (@updirty)

    thank you @mlchaves

    honestly I didn’t edit any file, i downloaded it this way and its even making many bugs
    I cant upload media, appearance customization page not saving well and give errors
    is there any tool to check errors on WordPress ?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time.

    (noted: added NSFW to topic)

    Thread Starter updirty

    (@updirty)

    thank you @sterndata
    I did deactivated blugins and same problem
    will try Health Check

    Thread Starter updirty

    (@updirty)

    @sterndata i try it nothing changed
    what i noticed this letter appear in all places of website even admin area
    so what files in the theme when add this letter can show it even in admin area?
    also i guess maybe its a (if) condition which missed the (i) and caused the whole these to not work well and show this letter
    what you think?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s at the end of your wp-config.php file?

    Thread Starter updirty

    (@updirty)

    @sterndata this is the content of the config file ( I just removed database name and pass ) here

    <?php
    /**
     * The base configuration for WordPress
     *
     * The wp-config.php creation script uses this file during the installation.
     * You don't have to use the web site, you can copy this file to "wp-config.php"
     * and fill in the values.
     *
     * This file contains the following configurations:
     *
     * * MySQL settings
     * * Secret keys
     * * Database table prefix
     * * ABSPATH
     *
     * @link https://wordpress.org/support/article/editing-wp-config-php/
     *
     * @package WordPress
     */
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', '---------' );
    
    /** MySQL database username */
    define( 'DB_USER', '---------' );
    
    /** MySQL database password */
    define( 'DB_PASSWORD', '---------' );
    
    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    
    /** Database charset to use in creating database tables. */
    define( 'DB_CHARSET', 'utf8mb4' );
    
    /** The database collate type. Don't change this if in doubt. */
    define( 'DB_COLLATE', '' );
    
    /**#@+
     * Authentication unique keys and salts.
     *
     * Change these to different unique phrases! You can generate these using
     * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
     *
     * You can change these at any point in time to invalidate all existing cookies.
     * This will force all users to have to log in again.
     *
     * @since 2.6.0
     */
    define( 'AUTH_KEY',         'elxduc3hvxluvsi8qkn9mzgozbatgwakrnlldbdisgajo7ive2ejkgawjewm7vtt' );
    define( 'SECURE_AUTH_KEY',  't6tjws3mfccyyfvzvlnc17eafj7bije9ysraftope8lborpazz7ehgxuws42wxb5' );
    define( 'LOGGED_IN_KEY',    '7azxqhqbv0sweessr7bdlh0ya2xueora7li5jiw96heizgu59k6lfn1mfnwast8d' );
    define( 'NONCE_KEY',        'q7t6sxlo4o8hi282sb6pakw6fixfv1snv4tvjsxaihhjrlatdkm7tdzesnqzhwnr' );
    define( 'AUTH_SALT',        '640pavpt1dtbm7bu3bz3a4qg3hvk3rphxqfn9p4aosclcgolntd0w1uwhqqmw7ft' );
    define( 'SECURE_AUTH_SALT', 'cmzepksgzfkdx0quizwkeqectqlvztj8ot604gvyxyj0ff4xtoa9gaoselm7av1m' );
    define( 'LOGGED_IN_SALT',   'yctmxc4bzz2oghmzne4ck52nwizxrjc0wqlsah0goi2r2cxufb1awsldztie2jog' );
    define( 'NONCE_SALT',       'm2dg157kelk0ou9oth3krejqqsebpxrzyeszfk0asudfbr1qn5cttvlizz9zx134' );
    
    /**#@-*/
    
    /**
     * WordPress database table prefix.
     *
     * You can have multiple installations in one database if you give each
     * a unique prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix = 'wprx_';
    
    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     *
     * For information on other constants that can be used for debugging,
     * visit the documentation.
     *
     * @link https://wordpress.org/support/article/debugging-in-wordpress/
     */
    define( 'WP_DEBUG', false );
    
    /* Add any custom values between this line and the "stop editing" line. */
    
    /* That's all, stop editing! Happy publishing. */
    
    /** Absolute path to the WordPress directory. */
    if ( ! defined( 'ABSPATH' ) ) {
    	define( 'ABSPATH', __DIR__ . '/' );
    }
    
    /** Sets up WordPress vars and included files. */
    require_once ABSPATH . 'wp-settings.php';
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I was hoping to find a stray “f” in there. Rats.

    Thread Starter updirty

    (@updirty)

    maybe the file where the license added? but I don’t know which file to contain evanto themeforest license

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Dunno. I’ve never used Envato themes, but look at any files you might have edited.

    Hey @updirty,

    When I view your homepage’s source, the HTML doesn’t look right to me.

    For example, your HTML, head, and body elements are all defined on the first line. Yet, you’ll see all the title, meta, link, style, and script elements defined inside the body element. That isn’t valid HTML.

    Here’s a snippet of that.

    <html lang="en-US"><head><script src="https://updirty.com/wp-includes/js/wp-emoji-release.min.js?ver=5.8" type="text/javascript" defer=""></script></head><body class="home .. followed by title, meta, link, style, script, etc.

    Also, at the very bottom of your page’s source, I see div tags defined after the closing body tag. That’s not valid either.

    Here’s what I see.

    <span class="mm-sronly">Close menu</span></a></div></body><div id="tiptip_holder" style="max-width:200px;">

    BTW, what does mm stand for? Are you running some mega menu plugin maybe?

    There could be a few causes: theme flaws, buggy plugin, plugin conflict, buggy custom code, or even aggressive minification.

    I’d hit up you theme’s developer to see why everything that should be in your page’s head section is in the body section.

    Just my 2 cents 😉

    Good luck!

    Mark

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

The topic ‘[NSFW] theme error, f letter on header’ is closed to new replies.