WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Not working with udesign

[Resolved] Not working with udesign

  • I have u-design theme activated and it isn’t working with it out the box.

    Warning: require_once(..themes/twentyfourteen/scripts/portfolio-item-thumbnail.php): failed to open stream: No such file or directory in .../themes/u-design/functions.php on line 1565
    
    Fatal error: require_once(): Failed opening required '.../themes/twentyfourteen/scripts/portfolio-item-thumbnail.php' (include_path='.:/usr/lib/php5.4') in .../themes/u-design/functions.php on line 1565

    that’s because line 1565 is

    require_once( get_template_directory() . '/scripts/portfolio-item-thumbnail.php' );

    well duh…there is no script folder in twentyfourteen

    obviously the problem is checking if the file exists
    added

    if(file_exists(get_template_directory() . '/scripts/portfolio-item-thumbnail.php' ))

    works fine.

    But why is it even accessing the udesign theme at all let alone its functions?

    https://wordpress.org/plugins/safe-mode/

Viewing 1 replies (of 1 total)
  • Plugin Author Uffe Fey

    @wpkonsulent

    Safe Mode does not check any scripts folder or portfolio file at all. This error is caused by something else in your WP setup.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Not working with udesign’ is closed to new replies.