• Hi there

    Thank you for the great work behind the latest upgrade, which I have been looking forward to.

    I indeed rushed to upgrade, but firstly in spite of updating permalinks no sign of Recipe or settings on dashboard. I also noted archive page /recipe is no longer found, same to individual recipe links.

    I now actually see the error on dashboard “The plugin recipepress-reloaded/recipe-press-reloaded.php has been deactivated due to an error: Plugin file does not exist.”

    Just before posting this, I tried a manual download + upload … then activated the plugin.
    It’s then that the process of upgrading took place including the database.

    The settings links reappeared on dashboard, however …

    The archive page /recipe is no longer found, in spite of saving permalinks, I also noted even if the slug is “recipe”, the link is renamed to /a-recipe, which also is not found.

    If you try to preview a recipe via the editor or give a direct link, it only shows the main image & nothing about the text.

    So there are a couple of things not yet OK. So basically the previous overview via /recipe [ https://bit.ly/1XjukTK ] is no longer working, /a-recipe also not, direct recipe link shows only image, example: https://bit.ly/2iUpo93. I use Firmasite theme.

    Have I missed out something? It’d of course be better if possible if the link structure was not changed, but if it must be … thatz fine.

    These are the preliminary observations.

    What can one do to correct this?

    Thank you in advance & kind regards

    • This topic was modified 8 years, 2 months ago by xprt007.
    • This topic was modified 8 years, 2 months ago by xprt007.
Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter xprt007

    (@xprt007)

    Update:
    In errorlog there is this:

    [05-Jan-2017 18:27:38 UTC] PHP Catchable fatal error:  Object of class WP_Error could not be converted to string in /home2/lls/public_html/abbc/wp-content/plugins/recipepress-reloaded/public/rpr_template_tags.php on line 199
    [05-Jan-2017 18:27:47 UTC] PHP Catchable fatal error:  Object of class WP_Error could not be converted to string in /home2/lls/public_html/abbc/wp-content/plugins/recipepress-reloaded/public/rpr_template_tags.php on line 199

    Also noted RPR categories in dashboard if you want to view one like “/rpr-category/poultry/”, however many recipes are in, it only shows one image I guess of one of the recipes….

    • This reply was modified 8 years, 2 months ago by xprt007.
    • This reply was modified 8 years, 2 months ago by xprt007.
    • This reply was modified 8 years, 2 months ago by xprt007.
    Plugin Author Jan Koester

    (@dasmaeh)

    Hi,

    as usual there are quick fixes:

    1) The problem while upgrading / activating the plugin needs more investigation.
    2) The archive pages are indeed missing. I just forgot to add this functionality. Manual fix: edit public/class-rpr-recipeposttype.php and the following in line 94
    'has_archive' => true,
    3) For a quick workaround to avoid the fatal error edit public/rpr_template_tags.php in line 193:
    if( $terms && ! is_wp_error( $terms) ) {
    Of course the source of this error still need some investigation.

    Or you just use the current development snapshot from github.

    Hope this helps for the moment.

    • This reply was modified 8 years, 2 months ago by Jan Koester.
    Plugin Author Jan Koester

    (@dasmaeh)

    Once you’ve verified the fixed are working for you as well, I’ll release them as version 0.8.1

    Thanks for reporting and testing!

    Thread Starter xprt007

    (@xprt007)

    Hello Jan

    I did install the Github version yesterday, which corrected some of the raised issues, but had not got time to report. Then now just installed 0.81, which after a quick look has same issues.

    1. https://bit.ly/1XjukTK shows the archive page has more than the thumbnail + review text, i.e with double featured images as well
    2. https://bit.ly/2iUpo93 shows a recipe is printed twice, with the first copy, I think in place of the excerpt(?) the whole recipe taking its place and then another copy below, but in proper font style, though I see the formatting is a bit different of the lists, not fitting like before.
    3. There seems to be a problem with categories, with normal thumbnails but wrong & double featured images … https://bit.ly/2ip1jX8
    4. Cuisine page is empty, something is wrong, i think. I have at least 2 … I see 2 on admin side but not front. I actually thought I had more cuisines … Moreover, & i may be mistaken, but it seems on recipe page, the respective cuisines & category is not printed

    Anyway typing this after a long day & almost falling asleep ;), but I think some of this makes sense.

    Thank you in advance

    • This reply was modified 8 years, 2 months ago by xprt007.
    Thread Starter xprt007

    (@xprt007)

    PS:
    On the recipe archive page, there’s also mix up of thumbnails & the double featured images for every recipe … with the latter of the first recipe in list being used for all recipes on the page!

    Plugin Author Jan Koester

    (@dasmaeh)

    Looks like there a been a major misunderstanding on how the content filters of wordpress work. Strangely I’ve never noticed anything like this during all the tests using my recipe collection.

    I’m working an 1. and 2. currently. Double display of complete recipes should be resolved in the current development snapshot.

    I didn’t have time yet to look into 3. and 4., but please double check that really had more than 2 cusines. I’ve heavily tested the migration procedures using my recipe collection containing some cusines (also with special characters). So I’m pretty sure the migration procedures are not affecting your data. In fact the procedure is not touching any taxonomy terms except ingredients.
    Maybe have a look at the server logs if something is blocking displaying the terms.

    • This reply was modified 8 years, 2 months ago by Jan Koester.
    Thread Starter xprt007

    (@xprt007)

    Guten Tag Jan

    I decided to temporarily revert to v0.7.12 just to crosscheck a number of things as you suggest… So the site at the above urls, https://bit.ly/1KJVlXF currently shows how things were before.

    • Among these, the Cuisine sublink under “Recipes” shows there’re indeed 9 Cuisines listed, 10 at the backend, with v0.81 only showing 2 & none at frontend .
    • the correct content formatting on the archives, categories & cuisine pages with previews showing thumbnails.
    • for each recipe, the display of the corresponding category & cuisine & also formatting, e.g. of the lists here of ingredients or images fitting & matching that of the layout.

    For now that’s how things are standing.

    Regards

    Thread Starter xprt007

    (@xprt007)

    Update:
    In the WP error_log, the only related entry I could find is that mentioned above.

    In the error log in my Hosting Cpanel, if that’s what you mean by serverlog, this is what I could see:

    [05-Jan-2017 17:34:10 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /a/b/c/d/wp-content/plugins/recipepress-reloaded/admin/class-rpr-admin-generalmeta.php on line 142 
    [05-Jan-2017 18:01:48 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /a/b/c/d/wp-content/plugins/recipepress-reloaded/admin/class-rpr-admin-generalmeta.php on line 142
    [07-Jan-2017 22:14:16 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /a/b/c/d/wp-content/plugins/recipepress-reloaded/admin/class-rpr-admin-generalmeta.php on line 142
    [07-Jan-2017 22:17:47 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /a/b/c/d/wp-content/plugins/recipepress-reloaded/admin/class-rpr-admin-generalmeta.php on line 142
    
    ...
    [05-Jan-2017 17:28:49 UTC] WordPress database error Table 'pp_saba.wp_postmeta' doesn't exist for query SELECT meta_value FROM wp_postmeta WHERE meta_key='rpr_recipe_ingredients' made by require_once('wp-admin/admin.php'), do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, RPR_Admin_Migration->rpr_do_migration, RPR_Admin_Migration->rpr_update_from_4 [05-Jan-2017 17:28:49 UTC] WordPress database error Table 'pp_saba.wp_postmeta' doesn't exist for query SELECT meta_value FROM wp_postmeta WHERE meta_key='rpr_recipe_servings_type' made by require_once('wp-admin/admin.php'), do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, RPR_Admin_Migration->rpr_do_migration, RPR_Admin_Migration->rpr_update_from_4 
    
    

    … unless I did not check properly. I think the last entry is connected to the update[?]

    ??

    • This reply was modified 8 years, 2 months ago by xprt007.
    • This reply was modified 8 years, 2 months ago by xprt007.
    Plugin Author Jan Koester

    (@dasmaeh)

    I’m sorry the zpdated caused so many troubles for you. Meanwhile I could sort out the display errors. Seem’s I’ve misinterpreted the wordpress documentation at two points (very fundamental as it seems).

    To find the source of the cusine problem I need some more information.
    How did you perform the rollback? Did you just revert the files or did you also use a database backup?

    Anyhow it would be great if you could send be a wp export file of your recipes so I can test using them. Best would be an email …

    Thanks a lot for your help and your patience!

    Thread Starter xprt007

    (@xprt007)

    Hi
    No big deal. ??
    I do not know whether that’s the best way to do so, but since I’ve not added much content to the site for a while, I decided to just delete v.0.81, upload 0.7x & used a complete site DB backup made sometime before Xmas.
    Everything on the site, apart from some unrelated new text content seems to be what I had before, including the recipe-related content after I loaded the respective pages. I did nothing more.

    Which table(s) are the recipes stored in? Somehow, the site which has other quite diverse content(types) has 196 of them ?? …

    Regards

    Plugin Author Jan Koester

    (@dasmaeh)

    Easiest will be to use the WP export tool and just export the recipe post types. That will be alot easier to import for me as well, instead of fiddling with at least 5 different tables.

    Thread Starter xprt007

    (@xprt007)

    OK sent it to admin[at]cbjck …
    Regards

    Plugin Author Jan Koester

    (@dasmaeh)

    I’ve imported your data on my development system and done the migration from 0.7.12 to 0.8.2 without any problems. At least I couldn’t notice any.

    • Displaying recipe and recipe archive pages is working with the correct descriptions appearing for each recipe.
    • Taxonomy archive pages are working as well.
    • All 9 used cuisine appear in backend and frontend.

    I can’t explain or imagine how they got lost on your first try.

    • This reply was modified 8 years, 2 months ago by Jan Koester.
    Thread Starter xprt007

    (@xprt007)

    Hi there

    I’ve just seen your post AFTER updating to 0.8.2.
    I cannot also explain what happened as you say above, but just reported what happened as I did just another WP plugin update.

    It’s however good to know it all functioned on your side.

    • After applying this update today, like in the original post, although WP showed the update had run correctly, I tried to reload the /recipe archive page. Once I got a page not found error, I decided to check out Recipe Admin on the dashboard by reloading a page in another tab. I got an error the plugin does not exist or something like that.
    • That led me to a manual upload of 0.8.2. After activating & updating the database, I checked out the different pages, including archive, cuisine & category.
    • https://bit.ly/1KJVlXF shows the recipes with titles listed on archive page, but mysteriously only one visible recipe at bottom of first page has a description preview, the rest none. If I’m not mistaken, I think these previews also had the cuisine, category … they belong to also indicated. …
    • On the Cuisine admin page, there are strangely 2 Cuisines only instead of the 10 or so. I also see something noteworthy. If you follow the site navigation menu link to /cuisine, https://bit.ly/2iFrrNy, you see all the missing published cuisines.
    • Further more, there’s something remarkable about the URLs. One of the 2 cuisines shown at the admin side is “East African” & “viewing” this takes one to /cuisine/east-african/ where as you see, no thumbnail are, etc, WHEREAS if you go to https://bit.ly/2iFrrNy, you will note “East African” cuisine has the URL => /rpr_cuisine/east-african/. So I think there’s some problem with the way these were treated on importation.
    • I think I see a possible explanation on the recipe edit page on the right of page. I see “Cuisines” is there twice, the top instance showing the 2 mentioned “Cuisine” options to choose from.

      The lower Cuisines option is the correct one with the complete set of options, which are then printed at /cuisine/. This is the same case in the Recipe menu on dashboard. This complete set of Cuisine options as mentioned is NOT shown on dashboard.

      Same case with “difficulties”, though there may be another explanation for this. Actually I see Courses & Seasons are also double.

    • There’s some issue with formatting that was not there before & that makes individual recipe pages seem not to be uniform. If you look at https://bit.ly/2iUpo93, you will note TAGS, instead of being at the bottom are now at the top & mixed with or between cuisine & category, or was this intended? …

      Whereas the lists formatting of the ingredients is OK in above recipe, here the list for the instruction steps is missing and as you see & just in paragraph form, they are listing to the right & getting smaller as you go down the page, instead of using up the whole space. Also the images are too small, video, too … it should be 700px wide.

    • https://bit.ly/2ifN1Y5 … here you see the ingredients list overflowing to the left to that line [for almost all recipes] UNLIKE in above recipe … the instruction steps list is THIS time there and UNLIKE in above recipe, using all space BUT also overflowing to the left line. … moreover the instructions images are probably too small
    • It seems the excerpt at top of recipe is missing or is it intended?

    Not quite sure what all this means yet, just a preliminary reporting of what I see. ??

    I hope it helps to perfect the plugin.

    Regards

    • This reply was modified 8 years, 2 months ago by xprt007.
    Thread Starter xprt007

    (@xprt007)

    I may be mistaken, but it seems one cannot save “RPR 2column” layout. It seems to go back to default … Or am I simply failing to see something?

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘A couple of issues after updating?’ is closed to new replies.