• 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)
  • Just delete the theme’s folder inside wp-content/themes.

    Theme Author Placester Inc.

    (@placester)

    Hello Ragnhild, have you managed to solve your Manchester issues at the end?

    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…

    “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.

    (@placester)

    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.

    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.

    (@placester)

    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: https://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.