Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1088535
    Solkaptenen
    Participant

    Hello!
    I have gotten the theme to work now but I still get error messages when using Envira Gallery or Soliloquy. This is what Theme check listed:

    REQUIRED: .gallery-caption CSS class is needed in your theme CSS.
    Warning: More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs.
    The domains found are __x__, bbpress, buddypress
    WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘__x__’
    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Update Plugin’
    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘There is a new version of %1$s available. View version %4$s details.’
    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘There is a new version of %1$s available. View version %4$s details. %5$s’
    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘There is a new version of %1$s available. View version %4$s details or update now.’
    WARNING: file_put_contents was found in the file framework/functions/global/admin/addons/demo/class-x-demo-import-processor.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
    Line 188: file_put_contents( $temp, file_get_contents($url) );
    WARNING: file_get_contents was found in the file framework/functions/global/admin/addons/demo/class-x-demo-import-processor.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
    Line 188: file_put_contents( $temp, file_get_contents($url) );
    REQUIRED: You are not allowed to hide the admin bar.
    REQUIRED: This theme text domain does not match the theme’s slug. The text domain used: __x__, bbpress, buddypressThis theme’s correct slug and text-domain is x.
    REQUIRED: The theme uses the register_taxonomy() function, which is plugin-territory functionality.
    REQUIRED: The theme uses the register_post_type() function, which is plugin-territory functionality.
    REQUIRED: The theme must not use the <title> tags.
    REQUIRED: The theme must not call to wp_title().
    REQUIRED: No reference to add_theme_support( “title-tag” ) was found in the theme.
    REQUIRED: Found a Customiser setting that did not have a sanitisation callback function. Every call to the add_setting() method needs to have a sanitisation callback function passed.
    REQUIRED: framework/functions/global/admin/addons/setup.php. Themes should use add_theme_page() for adding admin pages.
    Line 98: add_submenu_page( ‘x-addons-home’, ‘X – Addons: Home’, ‘Home’, ‘manag
    REQUIRED: framework/functions/global/admin/addons/setup.php. Themes should use add_theme_page() for adding admin pages.
    Line 97: add_menu_page( ‘X – Addons: Home’, ‘Addons’, ‘manage_options’, ‘x-add
    REQUIRED: Zip file found. Plugins are not allowed in themes. The zip file found was cornerstone.zip.
    RECOMMENDED: Screenshot size should be 1200×900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200×900 is preferred.
    RECOMMENDED: Possible variable $text found in translation function in framework/functions/global/admin/addons/setup.php. Translation function calls must NOT contain PHP variables.
    Line 44: .tco-overlay’><?php _e( $text, ‘__x__’ ); ?>
    RECOMMENDED: No reference to add_theme_support( “custom-header”, $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
    RECOMMENDED: No reference to add_theme_support( “custom-background”, $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
    RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
    RECOMMENDED: Tags: is either empty or missing in style.css header.

    I would appreciate help to get the theme and WordPress run more smoothly.

    Best regards
    Erik

    #1088925
    Jade
    Moderator

    Hi Erik,

    Would you mind specifying where these errors are being displayed? Please provide us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1089044
    Solkaptenen
    Participant
    This reply has been marked as private.
    #1089564
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the information! Please refer to the following response on that (https://community.theme.co/forums/topic/theme-check/#post-628199).

    To fully understand how we used Envira gallery and Soliloquoy in X, please check out out knowledge base:
    https://community.theme.co/kb/
    https://community.theme.co/kb/integrated-plugins-envira-gallery/
    https://community.theme.co/kb/integrated-plugins-soliloquy/

    Thanks!

    #1089686
    Solkaptenen
    Participant
    This reply has been marked as private.
    #1089721
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! All the messages right now is a PHP warnings. This will not have a major impact on the performance of the plugin or your site. To get rid of this messages, please disable the WP_DEBUG mode? You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , false ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', false);
    
    /* That's all, stop editing! Happy blogging. */

    When you revisit the page, you should no longer see the messages.

    Hope this helps.

    #1089759
    Solkaptenen
    Participant
    This reply has been marked as private.
    #1090113
    Rad
    Moderator

    Hi there,

    Would you mind providing the correct admin and FTP login credentials? The warning means that something is echoed before it can even send header information. It’s originating from envira gallery, it could be that files has extra characters and spaces (encoding) during installation.

    Thanks!

    #1090235
    Solkaptenen
    Participant
    This reply has been marked as private.
    #1090428
    Rad
    Moderator

    Hi there,

    I can’t seem to find that warning related to Envira gallery, is it okay now?

    About the above warnings, they are just reports from Themecheck plugin and you can ignore that.

    Examples,

    Warning: More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs.
    The domains found are __x__, bbpress, buddypress

    But not all users uses language packs, mostly their strings aren’t on the packs.

    WARNING: file_put_contents was found in the file framework/functions/global/admin/addons/demo/class-x-demo-import-processor.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
    Line 188: file_put_contents( $temp, file_get_contents($url) );

    That means demo import should be removed? Other plugins and themes do that too.

    REQUIRED: You are not allowed to hide the admin bar.

    Do you wish to display the admin bar? X theme don’t hide admin bar, it could be from your custom code.

    And many more.

    Thanks!

    #1090490
    Solkaptenen
    Participant
    This reply has been marked as private.
    #1090517
    Christian
    Moderator

    Hey there,

    Those errors are caused by server limitations. Please contact or pass the error messages to your web host so they could lift the limitations if they can. If they cannot, please consider switching to a better web host.

    Thanks.

    #1090651
    Solkaptenen
    Participant

    I have now talked to my web host and they replied: execution time limit is only set to 50. If the script requires more than that, it will not work.

    #1090683
    Rupok
    Member

    Hi there,

    It seems very limited. Kindly try to increase the execution limit. I am not entirely sure about the reply. What will not work actually? Do they have limit?

    Let us know.

    #1090830
    Solkaptenen
    Participant

    Hi,
    This is the reply from one.com:
    I’m sorry but max_execution time is only set to 50 seconds and we cannot change that.

    How can I fix this?
    Thank you

  • <script> jQuery(function($){ $("#no-reply-1088535 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>