Forum Replies Created

Viewing 15 replies - 1 through 15 (of 59 total)
  • Thread Starter ibertrix

    (@ibertrix)

    Thanks for answering! In all of them I get the same response:

    Error: Invalid field: billing_first_name.

    Thread Starter ibertrix

    (@ibertrix)

    Thanks for answering me so quickly!

    This is the complete excerpt of the export xml for one post:

    [{"post_id":8825,"meta_key":"_edit_lock","meta_value":"1639261024:76"},{"post_id":8825,"meta_key":"_edit_last","meta_value":"4"},{"post_id":8825,"meta_key":"slide_template","meta_value":"default"},{"post_id":8825,"meta_key":"rttheme_header_background_image","meta_value":""},{"post_id":8825,"meta_key":"rttheme_header_text","meta_value":""},{"post_id":8825,"meta_key":"rttheme_background_image_url","meta_value":""},{"post_id":8825,"meta_key":"rttheme_background_color","meta_value":""},{"post_id":8825,"meta_key":"rttheme_background_overlay_image_url","meta_value":""},{"post_id":8825,"meta_key":"rttheme_enable_background_overlay","meta_value":"on"},{"post_id":8825,"meta_key":"rttheme_rt_hidden","meta_value":"saved"},{"post_id":8825,"meta_key":"post_format","meta_value":""},{"post_id":8825,"meta_key":"rtthemefeatured_image_position","meta_value":""},{"post_id":8825,"meta_key":"rtthemeblog_image_resize","meta_value":"on"},{"post_id":8825,"meta_key":"rtthemeblog_image_width","meta_value":"0"},{"post_id":8825,"meta_key":"rtthemeblog_image_height","meta_value":"0"},{"post_id":8825,"meta_key":"rtthemeblog_image_crop","meta_value":"on"},{"post_id":8825,"meta_key":"rtthemefeatured_image_in_single_post_page","meta_value":"on"},{"post_id":8825,"meta_key":"rtthemeis_old_post","meta_value":"1"},{"post_id":8825,"meta_key":"rttheme_post_video_m4v","meta_value":""},{"post_id":8825,"meta_key":"rttheme_post_video_ogv","meta_value":""},{"post_id":8825,"meta_key":"rtthemevideo_url","meta_value":""},{"post_id":8825,"meta_key":"rttheme_post_audio_mp3","meta_value":""},{"post_id":8825,"meta_key":"rttheme_post_audio_oga","meta_value":""},{"post_id":8825,"meta_key":"rttheme_featured_image_usage","meta_value":"slider"},{"post_id":8825,"meta_key":"rttheme_display_gallery_images","meta_value":"same"},{"post_id":8825,"meta_key":"rtthemegallery_images_crop","meta_value":"on"},{"post_id":8825,"meta_key":"rtthemegallery_images_height","meta_value":"300"},{"post_id":8825,"meta_key":"rtthemephoto_gallery_images_width","meta_value":"160"},{"post_id":8825,"meta_key":"rtthemephoto_gallery_images_height","meta_value":"160"},{"post_id":8825,"meta_key":"rtthemepost_format_link","meta_value":""},{"post_id":8825,"meta_key":"rtthemecustom_sidebar_position","meta_value":""},{"post_id":8825,"meta_key":"rtthemert_gallery_images","meta_value":"a:1:{i:0;s:70:\"https:\/\/mysite.com\/wp-content\/uploads\/2021\/11\/IMG.jpg\";}"},{"post_id":8825,"meta_key":"rtthemert_gallery_image_titles","meta_value":"a:1:{i:0;s:0:\"\";}"},{"post_id":8825,"meta_key":"rtthemert_gallery_image_descs","meta_value":"a:1:{i:0;s:0:\"\";}"}]

    I don′t see any reference to the id of the media. Googling around I found how to get the ID using the URL by a query:

    select * from wp_posts WHERE post_type='attachment' and post_status='inherit' and guid like '%https:\/\/mysite.com\/wp-content\/uploads\/2021\/11
    \/IMG.jpg%';

    However I don′t know how I could insert those IDs into the export file. Maybe WP-CLI and the export function can be of any use?

    • This reply was modified 2 years, 11 months ago by bcworkz. Reason: code format fixed

    Not sure if that helps, but to run WP from command line you might need to run if using php,i.e.:

    /usr/local/bin/php /usr/local/bin/wp

    My problem was the reverse, I own a server and I wanted as root to run WP sudoing the user account so files didn′t get the wrong ownership.

    I created a .bash_aliases like:

    function wp () {
    userwp=/usr/bin/stat -c "%U" .
    sudo -u “$userwp” — /usr/local/bin/php /usr/local/bin/wp $@;
    }

    so now I can run WP when I′m on a WordPress installation and run any WP-CLI command

    Astra themes are normally responsive so using AMP plugins might make things worse. I would try without it first.

    Also I would try to disable CDN first. Cache, CDN and AMP should be the last resorts and not the first ones.

    I use plugins as asset clean up and defer javascript to try to cherry pick what you want to load (CSS and Javascript) on each page.

    Still as you can see from webpagetest, the loadting times are good. So if you want to trick Pagespeed you can try the PHP code in the header.php file of your theme or child theme.

    As you can see the speed in one of the mobile browsers is pretty similar:

    https://webpagetest.org/result/200607_WR_fca768faabc0dcaed3d8a378aa232c50/

    Maybe you have a cache plugin or the server has any kind of cache?

    Another place where you can look at is in your wp-content/theme/ in case you have a child theme.

    Also sometimes the theme has a place to put customized CSS.

    I can′t think of any of other ways where you can try to find where this CSS has been added without looking your website myself.

    Great! It seems like some files got corrupted.

    The two files that are involved in the error:

    public_htm/wp-load.php

    wp-admin/admin.php

    What exactly haven′t you understood? Have you tried to use webpagetest to check the mobile perfomance?

    I have told you where you have to add the php code you pasted in.

    If you check with webpagetest.org you will able to see also results for mobile browsers.

    You need to focus on first paint and when your site gets interactive, not the total load time, because normally javascript scripts are deferred and loaded after the rest (CSS, html, images).

    That code is cheating and only hiding the script from Pagespeed servers.

    You would have to put it in your header.php file of your theme right before <body> and copy inside the if sentence all the code you want to use for the rest of browsers.

    But the truth is that you haven′t actually test with GTMetrix or webpagetest.org how much this Javascript code is penalizing in the website performance.

    As I said, the important thing is UX (User eXperience)

    I′d test first which setting (script versus noscript) suit each test case (mobile versus desktop). Just add the <script> to test for both user agents and with <noscript> and see the results.

    Don′t get obsessed with reaching 100 in pagespeed, the important thing here is user experience.

    After that if you find a huge difference in time (not score) in any of the two we can give a try and modify php code.

    What do you mean?

    The CSS mentioned is inline, not loaded in other extra CSS, so It probably has been introduced by someone manually in the header.php of your theme or with a plugin for customized CSS.

    I see in that CSS inline comments like:

    /* Navigation */
    
    [ CSS  ]
    
    /* Global */ 
    
    [ CSS ]
    
    /* Sidebar */

    … etc

    So take a look and see if that rings any bell

    I am not in front of the computer but I recall to see some reference from wpstats. Maybe you have that plug-in installed?

    If not I would start deactivating plug-ins one by one

Viewing 15 replies - 1 through 15 (of 59 total)