• Resolved xprt007

    (@xprt007)


    Hi

    I was quite excited installing the new version(Version 0.5.6) of this plugin, but it seems some things are not working.

    The recipe title textbox is OK.
    Wordpress SEO: no text field
    Description: there’s a plain textbox, no difference whether you choose Visual or Text.
    Ingredients, no textboxes for creating them available.

    I tried deactivating ALL other plugins, no difference. Also by changing to the 20 fourteen theme makes no difference, also in Google chrome / Firefox.

    I had been able to create cuisine/categories.

    What could be the problem?

    Regards

    https://wordpress.org/plugins/recipepress-reloaded/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jan Koester

    (@dasmaeh)

    Hi.

    Most probably there you’re PHP version is causing an error.
    Please tell me the following:
    – the version of wordpress you are using
    – the version of PHP you are using

    If you have the chance to look into your PHP error log please also provide the error message from there.

    Thread Starter xprt007

    (@xprt007)

    Hi

    Thank you for the very fast response.

    I am using WordPress Version 3.9.1, the newest version.
    phpinfo() shows: PHP Version 5.2.17

    I have no error messages showing anywhere.

    Where do I find the php error log? I probably currently have no access to it now.

    Regards

    Plugin Author Jan Koester

    (@dasmaeh)

    OK. You could try the following:
    in wp-config.php set define('WP_DEBUG', true); and tell me the error messages you will then get.

    Don’t forget to remove this line immediatly after as error messages might expose the path of your installation to possible attackers also on the public page.

    I guess you will get an error then concerning either the descruiption or the ingredient fields. On my test system I’ve tested the plugin against wp 3.9.1 and PHP 5.4.4 so it should be working. However there might be a little yet easy to fix issue.

    Thread Starter xprt007

    (@xprt007)

    Hi

    Ok this is what I get when I do that, before logging in at the top of site:

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home2/abc/public_html/bcd/123/wp-includes/functions.php on line 3245
    
    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home2/abc/public_html/bcd/123/wp-includes/functions.php on line 3245

    When I log in, the page does not load at all instead has these errors:

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home2/abc/public_html/bcd/123/wp-includes/functions.php on line 3245
    
    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home2/abc/public_html/bcd/123/wp-includes/functions.php on line 3245
    
    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home2/abc/public_html/bcd/123/wp-includes/functions.php on line 3245
    
    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home2/abc/public_html/bcd/123/wp-includes/functions.php on line 3245
    
    Warning: parse_url(/123/login/?redirect_to=http://www.bcd/123) [function.parse-url]: Unable to parse URL in /home2/abc/public_html/bcd/123/wp-content/plugins/recipepress-reloaded/php/lib/vafpress/classes/wp/admin.php on line 53
    
    Warning: Cannot modify header information - headers already sent by (output started at /home2/abc/public_html/bcd/123/wp-includes/functions.php:3245) in /home2/abc/public_html/bcd/123/wp-includes/pluggable.php on line 861
    
    Warning: Cannot modify header information - headers already sent by (output started at /home2/abc/public_html/bcd/123/wp-includes/functions.php:3245) in /home2/abc/public_html/bcd/123/wp-includes/pluggable.php on line 1121

    I see messages with “recipepress-reloaded”.

    I hope this helps to identify the error.

    Regards

    Plugin Author Jan Koester

    (@dasmaeh)

    All message starting with bbp_setup_current_user are definitly related to some other plugin and not causeb by recipepress reloaded.
    I could only find one message related to recipepress-reloaded:
    Warning: parse_url(/123/login/?redirect_to=http://www.bcd/123) [function.parse-url]: Unable to parse URL in /home2/abc/public_html/bcd/123/wp-content/plugins/recipepress-reloaded/php/lib/vafpress/classes/wp/admin.php on line 53. This is related to the settings page of recipepress-reloaded and should not cause the errors you’ve seen.

    If there are any more messages related to recipepress-reloaded please post them here.

    If not try to identify the plugin causing all the errors and warnings an disable it. Then please check again if recipepress-reloaded is showing its strange behaviour.

    Thread Starter xprt007

    (@xprt007)

    Hi

    It seems there is a number of issues. The other errors seem to be caused when a new test version of some plugin is enabled and I have contacted the author.

    However, after disabling ALL plugins except recipepress reloaded, I still have the Add recipe page faulty.

    Description textbox: clicking Visual/Text leads to no visible change or is this normal that the visual mode has no tool icons?
    Like before, clicking in the textarea – no blinking mouse visible. If u write something, it is NOT visible, unless you select the text. The text seems to be white & so invisible.

    Ingredients => only this error message is visible:

    Parse error: syntax error, unexpected '[' in /home2/123/public_html/xxx/abc/wp-content/plugins/recipepress-reloaded/templates/metabox_ingredients.php on line 4

    Thank you in advance

    Plugin Author Jan Koester

    (@dasmaeh)

    Now this error is easy to fix and indeed related to your PHP version. You can fix it manually by editing two files:
    in templates//metabox_ingredients.php change line 4 to:
    $ingredient_link = RPReloaded::get_option('recipe_ingredient_links');
    and in tempalates/metabox_instructions.php change line 3 to
    $images = RPReloaded::get_option('recipe_instruction_image');

    This error seems to be specific to earlier version of PHP. Please understand that I can only test the plugin against one version of PHP.
    This fix will also be included in the upcoming release 0.6.0 of recipepress-reloaded.

    See also http://wordpress.org/support/topic/plugin-does-not-work-unfexpected-parse-error?replies=2#post-5695082

    Thread Starter xprt007

    (@xprt007)

    Hi

    My shared web hosting package has the option to change the php version, so I upgraded to 5.4, and have not got those errors again, but please go ahead to include a solution for 5.2 for next version, just in case there is a need to downgrade because of other issues for sites sharing same account.

    Many thanks!

    Regards

    I had the same issue and this post helped me out.
    🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘A number of things not working’ is closed to new replies.