Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    I contacted my hosting about the global smarty, this is what I got back:

    The following error appears on your site:

    Fatal error: Call to a member function assign() on a non-object in /home/admin/public_html/***********.be/wp-content/plugins/seo-automatic-seo-tools/index.php on line 141

    This is an error in the code of the plugin. If the original developer of the plugin is unable to correct this bug, you would need to hire and independent developer to help you with this code error. Alternatively, you may be able to find an alternate plugin that does not have errors.

    Are you sure you can’t fix it?

    Hi Heather,

    i’ve tried changing the theme back but that gives me the same error again.
    I’ll check with my hosting if they have something that blocks smarty.

    Kind regards;

    Hi Heather,

    I’ve sent you the FTP details for troubleshooting.

    Kind regards,
    Quincy

    Hi Heather,

    That doesn’t solve the problem either.
    Now the page doesn’t even load the regular content with the button, it just gives the error line again.

    I’ve created a admin account for you to take a look.

    thanks

    No doesn’t solve the problem;

    Now I get:

    global $smarty;
    Fatal error: Call to a member function assign() on a non-object in /home/admin/public_html/i-consultancy.be/wp-content/plugins/seo-automatic-seo-tools/index.php on line 143

    I’ve put global $smarty; right after <?php on the index.php

    Kind regards

    Hi I get the same error when running a url check.

    Fatal error: Call to a member function assign() on a non-object in /home/admin/public_html/i-consultancy.be/wp-content/plugins/seo-automatic-seo-tools/index.php on line 142

    I use the free version of this plugin on our website.
    Can you please help to fix this?

    Kind regards

    I had the same problem. This is not a solution to translate all the fields, but a solution to get that annoying “Submit your review” title out of the way.

    Unlike the solution above it will give you the functions of the back end admin area of this plugin.

    Actually I went into wp-customer-reviews/wp-customer-reviews-admin.php

    If you scroll down to “Review Page Settings” you will have the code for the button and also for the header.

    <label for="goto_leave_text">Button text used to show review form: </label><input style="width:250px;" type="text" id="goto_leave_text" name="goto_leave_text" value="'.$this->options['goto_leave_text'].'" />
                            <br />
                            <small>This button will be shown above the first review.</small>
                            <br /><br />
                            <label for="leave_text">Text to be displayed above review form: </label><input style="width:250px;" type="text" id="leave_text" name="leave_text" value="'.$this->options['leave_text'].'" />
                            <br />
                            <small>This will be shown as a heading immediately above the review form.</small>
                            <br /><br />

    If you haven’t noticed, but there the code for the button is defined for the label=”goto_leave_text”

    For the header it’s just the same so if you remove the go_to from the rest of the code defined for the form header and save your file the problem is solved.

    Than go back to the plugins admin settings and save your settings as you wish them to be. You can have a different text for the button and another for the form header as the programmers intended to do.

    This should solve the review form header from showing “Submit your review”

    Also if you’re still having problems go to the wp-customer-reviews/wp-customer-reviews.php

    And check for this line
    <tr><td colspan="2"><div id="wpcr_postcomment">' . $this->options['leave_text'] . '</div></td></tr>

    If you checked than you will see that there to many quotes around leave_text remove those so that you have ‘leave_text’ like the code above.

    Save your file and it will show correctly.

    For the remaining fields, well you have to translate them manually until developpers put those fields in as well. For multiple translations I recommend you use subdomains, because it will keep languages seperated for reviews and other plugins as well.

    I’m sure this will help. Actually my mom helped me solve this ??
    Kind regards
    Quincy

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