Safe Mode
[resolved] Not working with udesign (2 posts)

  1. amommy
    Posted 2 years ago #

    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

    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?


  2. Uffe Fey
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.