Tagged: ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1137224

    I’m having a problem accessing older blog posts in the backend edit mode of WordPress. I have posts going back to 2001. When I look for my posts to edit them, they seem to be missing (although, they are showing up on the frontend. I can edit posts that go back only as far as May 2011. The rest of the content (pages, etc) see to be there and editable.

    I’m getting this error:

    An error of type E_ERROR was caused in line 48 of the file /public_html/wp-content/themes/sentence/includes/admin/compat.php. Error message: Uncaught Error: Cannot use string offset as an array in /public_html/wp-content/themes/sentence/includes/admin/compat.php:48
    Stack trace:
    #0 /public_html/wp-includes/class-wp-hook.php(286): avia_backend_compatibility_custom_field_filter('', 62)
    #1 /public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters('', Array)
    #2 /public_html/wp-content/themes/sentence/framework/php/function-set-avia-frontend.php(262): apply_filters('avia_post_meta_...', '', 62)
    #3 /public_html/wp-includes/class-wp-hook.php(288): avia_post_meta(Object(WP_Post))
    #4 /public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /public_html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
    #6 /public_html/wp-includes/class-wp-query.php(4220): do_action_ref_array('the_post', Array)
    #7 /public_html/wp-includes/query.php(1139): WP_Query->setup_postdata(Object(WP_Post))
    

    They do show up in recovery mode.

    • This topic was modified 3 days, 13 hours ago by  outtacontext.
    #1137596

    Hey outtacontext,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1137602
    This reply has been marked as private.
    #1137836

    Hi outtacontext,

    Thanks for giving us admin access.
    You’re using php version 7.2.22, can you try to use version 7.1 instead?
    The last update for sentence theme is only compatible to php 7.1

    Best regards,
    Nikko

    #1138173
    This reply has been marked as private.
    #1138325

    Hi outtacontext,

    The last time it was updated was 2018. We no longer release updates to this theme.
    You can read it in Kriesi’s blog: https://kriesi.at/archives/ (Purchase code hidden if logged out) -4-5-1
    Since wordpress have deprecated some functions in their latest releases since 5.0 (major update) outdated themes no longer work properly.
    Can you give us ftp access? we’ll try to enable wordpress debugging and check logs for errors, maybe there’s a quick fix to it otherwise, we will suggest using another theme of your choice.

    Best regards,
    Nikko

    #1138357
    This reply has been marked as private.
    #1138360
    This reply has been marked as private.
    #1138374

    Hi outtacontext,

    Thanks for giving us ftp access. Just make sure to put login/ftp credentials in private content, so it’s only seen by you (thread creator) and us (moderators).
    I only touched 2 files, wp-config.php (enabled debugging and logging of errors) then compat.php (enfold/includes folder).
    In line 48 of compat.php, I replaced:

    $custom_fields['slideshow'][0]['slideshow_image'] = "";

    with:

    $custom_fields = array(
        'slideshow'	=>	array(
            0	=>	array( 'slideshow_image' =>	'')
        )
    );

    Posts are now showing properly.

    Best regards,
    Nikko

    #1138377
    This reply has been marked as private.
    #1138378
    This reply has been marked as private.
    #1138379
    This reply has been marked as private.
    #1138431

    Hi outtacontext,

    Also, okay to delete the FTP login?
    Yes, it’s fine to remove the ftp login since it’s already fixed.

    Can you tell me why that file hadn’t been updated when I put in the last iteration of Sentence?
    I’m not really sure regarding that since you are already using the latest version 4.1 but not sure why there’s a difference in compat.php. Please check private content.

    Anyway, we’re glad that we could help and thanks for using our theme. :)

    Best regards,
    Nikko

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.