Support » Themes and Templates » Theme installation: Fatal error: Call-time pass-by-reference has been removed

  • verdiana

    (@verdiana)


    Hello everybody, I’ve a problem with installation of a new theme.
    I’ve upload my website in localhost to to some tests, I’ve just bought and uploaded a new theme, but when I click to activate it, the answer is:
    “Fatal error: Call-time pass-by-reference has been removed in C:\Program Files (x86)\EasyPHP-12.1\www\wordpress\wp-content\themes\cookingpress-theme\cookingpress\backend\purepress-functions.php on line 200

    What does depend on? What should I do?
    Thanks in advance
    Verdiana

Viewing 3 replies - 1 through 3 (of 3 total)
  • mohdrafie

    (@mohdrafie)

    Some theme just doesn’t work locally, can you try it on real server? It could be your local server PHP.

    verdiana

    (@verdiana)

    I’ve just tried on my “real” website, but it says that “a css file is missing”.

    mohdrafie

    (@mohdrafie)

    At minimum, a WordPress theme should have

    1. style.css
    2. index.php

    Other than that, you need to make sure that you upload the “cookingpress” folder into the “themes” and NOT the “cookingpress-theme”.

    Quick Reason: style.css and index.php files are located inside the “cookingpress” folder

    Does it make sense? 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme installation: Fatal error: Call-time pass-by-reference has been removed’ is closed to new replies.