Title: Possible bug?
Last modified: August 20, 2016

---

# Possible bug?

 *  [kamelryttersken](https://wordpress.org/support/users/kamelryttersken/)
 * (@kamelryttersken)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/possible-bug-3/)
 * I tried to download the theme “Manchester” today. When activating it, the theme
   crashed my whole blog.
    Accessing the blog I get these errors: Warning: Creating
   default object from empty value in C:\xampp\htdocs\wp-content\themes\manchester\
   blueprint\blueprint.php on line 82
 * Fatal error: Call-time pass-by-reference has been removed in C:\xampp\htdocs\
   wp-content\themes\manchester\custom\property-details.php on line 139
    I was running
   WP on XAMPP on my own PC, while setting up a new blog, some twenty hours of work
   looks like down the drain.
 * Any tips for removing the theme would be helpful 🙂
 * Yours truly
    Ragnhild Vinkenes

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255842)
 * Just delete the theme’s folder inside wp-content/themes.
 *  Theme Author [Placester Inc.](https://wordpress.org/support/users/placester/)
 * (@placester)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255870)
 * Hello Ragnhild, have you managed to solve your Manchester issues at the end?
 *  [greuve](https://wordpress.org/support/users/greuve/)
 * (@greuve)
 * [13 years ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255871)
 * I had the exact same experience just now – also using a local XAMPP install. 
   The problem is caused by a php version incompatibility. Current XAMPP uses php
   version 5.4.7 and this version has tightened up the use of not properly instantiating
   objects and has changed the way you code for passing a variable by reference.
 * The first error can be fixed by explicitly instantiating the object. Change line
   76 in blueprint.php from
 *     ```
       global $placester_blueprint;
       ```
   
 * to
 *     ```
       global $placester_blueprint;
       $placester_blueprint = new stdClass();
       ```
   
 * There is one more occurrence of this problem. Before line 136 in blueprint\partials\
   get-listings-search-form.php add:
 *     ```
       if ( !isset( $form_data ) )
       	$form_data = new stdClass();
       ```
   
 * The error on line 139 is caused by incorrect (as of php 5.3) use of “pass by 
   reference”. It is the function definition that needs to specify that a call is
   to be made by reference and not the call to the function (see also Kernighan 
   and Ritchie – 1978 ;o). There are a few other places where this needs to be fixed.
   Simply remove the ‘&’ from the call and (if not already present) add the ‘&’ 
   to the function definition.
 * Remove &:
    line 139, 142, 156, 170 in property-details.php – amenities_but and
   translate_amenities line 18 in compatibility.php – get_valid_property_list_fields
   line 20 in formatting.php – validate_number
 * Add &:
    line 268 in blueprint/functions/formatting.php – amenities_but
 * Next problem: the “Install it Now” button on the admin page returns an object
   not found, however I was able to install the plugin manually.
 * And here comes the next problem: need to confirm email address and that gets 
   stuck. So head over to the Placester website, create a new account and copy the
   API key to paste into my WP site. Unfortunately the plugin refuses to recognise
   it as a valid API key.
 * Two hours of debugging later and I’m now faced with a nag-screen every 5 seconds.
   Time to throw in the towel…
 *  [greuve](https://wordpress.org/support/users/greuve/)
 * (@greuve)
 * [13 years ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255872)
 * “picking up the towel” ….
 * In another post “Placester Inc.” wrote:
 * > […] add the lines of code below in your functions.php […]
   >     ```
   >     add_filter('https_local_ssl_verify', '__return_false');
   >     add_filter('https_ssl_verify', '__return_false');
   >     ```
   > 
 * And that concludes the exercise: I now have a working Placester Real Estate site
   on localhost…
 * All I have to do now is figure out why I wanted one :o)
 *  Theme Author [Placester Inc.](https://wordpress.org/support/users/placester/)
 * (@placester)
 * [13 years ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255876)
 * Thank you for bringing this to our attention.
 * We are continuously improving our themes to add features and address issues. 
   We believe this particular issue may be related to the way the op’s server was
   configured, but will be addressed in an upcoming release of the theme.
 *  [mohdhafizproperty](https://wordpress.org/support/users/mohdhafizproperty/)
 * (@mohdhafizproperty)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255878)
 * I got this error after install this theme
 * ———————————————————————-
    Fatal error: Call to undefined function placester_post_slug()
   in /home/damansar/public_html/wp-content/themes/manchester/blueprint/functions/
   compatibility.php on line 239 ————————————————————————
 * how to fix it?
 *  Theme Author [Placester Inc.](https://wordpress.org/support/users/placester/)
 * (@placester)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255879)
 * Hey mohdhafizproperty,
 * The fix for that issue is currently under review by WP.org, but we’re offering
   the most up-to-date version of Manchester (and the three other real estate themes
   we’ve created) for direct download under the “Theme Gallery” tab in the Placester
   plugin settings menu.
 * If for some reason this error is preventing you from seeing the theme gallery,
   here’s the download link for the latest version of Manchester with the fix for
   this + many other upgrades and new features: [http://plcstr.com/14S94cX](http://plcstr.com/14S94cX)(
   If for some reason a download doesn’t begin immediately after clicking this, 
   simply right click and “Save As” to get the theme files as a zip).
 * Thanks!

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

The topic ‘Possible bug?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/manchester/2.0/screenshot.png)
 * Manchester
 * [Support Threads](https://wordpress.org/support/theme/manchester/)
 * [Active Topics](https://wordpress.org/support/theme/manchester/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/manchester/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/manchester/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [Placester Inc.](https://wordpress.org/support/users/placester/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/possible-bug-3/#post-3255879)
 * Status: not resolved