Forum Replies Created

Viewing 15 replies - 1 through 15 (of 217 total)
  • Thread Starter Antipole

    (@antipole)

    @gappiah – now that is interesting.

    I have also done a clean install but I still get the error I first reported here.

    So either there is an issue with the way I have installed or there is problem with the way I IP migrated my site from its old server.

    1. I created a folder here: …./public_html/testsite
    2. Did a standard install of WordPress
    3. Confirmed the site was working
    4. Installed SitePush
    5. Saving the config failed

    I then tried this:

    • In settings, changed the URL to be that of my existing test site
    • Renamed my existing test site director to …old
    • Renamed the directory of the fresh install to that of my test site
    • In .htaccess fixed the RewriteBase to point to the remamed directory

    My test site URL now takes me to the fresh installation and it is using https.

    Everything seems to be working except that saving the SitePush config gets me the 404 error as originally reported. URL wp-admin/options.php

    As before, if I copy that URL into a new window, it loads the All settings page OK.

    Was your fresh installation that worked similar to my Steps 1 – 4 above?

    Any thoughts, please?

    • This reply was modified 1 month, 3 weeks ago by Antipole.
    • This reply was modified 1 month, 3 weeks ago by Antipole.
    Thread Starter Antipole

    (@antipole)

    @threadi thank you for taking the trouble to reply.

    One aspect of SitePush is that it does more than just copy stuff between the sites. It knows which plugins to enable/disable on each site. As one example, on my test site it enables Stop Emails so users do not get emails from my testing. I haven’t found an alternative plugin that does all SitePush does.

    So I am trying to take the problem further myself and would love it if you could help me understand more…

    I have used Troubleshooting mode to disable everything except the SitePush plugin. When I click on Save Changes I get a 404 Page not found for …./wp-admin/options.php

    This file does exist – I can inspect it using FTP and the permissions are correct (644). If I reload the page I get the same 404 error but if I copy the URL out of the browser search bar and paste into another window, the All Settings page displays OK. So the page is there, accessible and functioning. But reloading the page is different from using the URL to load the page.

    The plugin options page code viewed in the browser includes

    <input name="Submit" type='submit' value='Save Changes' class='button-primary'/>

    How does the submit action lead to the attempt to load wp-admin/options.php ? The string ‘options.php’ does not occur anywhere in the plugin.

    My guess is that the submit action invokes some part of the plugin code which verifies the form content and then calls options.php through an API. In this case, there may be an error in the API call to options.php. How does the submit get linked to the plugin code?

    I would love to understand these workings of WordPress better.

    Thanks in anticipation of your enlightening me.

    PS Nothing relevant in the error log – only warnings about deprecations.

    • This reply was modified 1 month, 4 weeks ago by Antipole.
    Thread Starter Antipole

    (@antipole)

    Not been able to narrow this down yet. Have visited various forums checking the error log without seeing it. But error gets logged when I am not around – i.e through visits by other users.

    I believe my site is now secure and have eliminated errors arising from bots probing and trying to execute code.

    Thread Starter Antipole

    (@antipole)

    This error has gone away, apparently all by itself. I note it resolved itself for @manfierp too. Very mysterious.

    I have no caching on my bare site but perhaps something deep in the system refreshed itself.

    Thread Starter Antipole

    (@antipole)

    Not sure if this is what you are asking, but I have the trusty ‘Error Log Monitor’ plugin installed, which displays in the backend errors from the PHP error log.

    Thread Starter Antipole

    (@antipole)

    Ran database checks but nothing reported.

    I have made a completely fresh WP installation using the install feature in cPanel and not touched anything apart from turning on error logging. It works fine under PHP7.4 but gives the same errors under PHP8.

    tsoHost insist it is an issue with my content and advise I engage a developer to sort it out.

    (tsoHost did the transfer to this account from my previous one with them [where PHP8 works fine].)

    I am stuck.

    Thread Starter Antipole

    (@antipole)

    Heard from TSO again.

    I have had some help from a colleague to investigate this issue further. It seems this issue is content related and it cannot be fixed from our end. 

    I highly suggest you get in contact with a web developer and have them check the content of the website you currently have uploaded.

    @manfierp if you get any further, please update here.

    Thread Starter Antipole

    (@antipole)

    @manfierp – very interesting. No, TSO have not addressed it in any meaningful way. That you are seeing the same issue helps enormously as evidence it is not something I am doing wrong. If you have not done so, please raise a support ticket with them. Either way, link to my ticket, which is TSR-546-37810, and this thread. Please let me have your ticket number so I can link my ticket to yours.

    I have another account with them on an older server and have had no PHP 8 issues there.

    • This reply was modified 10 months, 3 weeks ago by Antipole.

    Frank… yes you are correct – it is a warning and not an error.

    But warnings often develop into issues, so thanks for the fix.

    • This reply was modified 10 months, 3 weeks ago by Antipole.

    I am seeing this line 285 error too.

    Thread Starter Antipole

    (@antipole)

    Yes – have already been in contact with tsoHost without resolution so far. I will refer them to this thread.

    Thread Starter Antipole

    (@antipole)

    Thanks for your interest. Problem exists with Twenty TwentyFour too.

    Herewith error log

    [30-Nov-2023 14:04:41 UTC] Cron reschedule event error for hook: emp_cron_emails_process_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”em_minute”,”args”:[],”interval”:60}
    [30-Nov-2023 14:05:22 UTC] WordPress database error Malformed packet for query SELECT * FROM w96r_users WHERE user_login = ‘Tony’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), WP->init, wp_get_current_user, _wp_get_current_user, apply_filters(‘determine_current_user’), WP_Hook->apply_filters, wp_validate_logged_in_cookie, wp_validate_auth_cookie, get_user_by, WP_User::get_data_by
    [30-Nov-2023 14:05:22 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT t.term_id
    FROM w96r_terms AS t INNER JOIN w96r_term_taxonomy AS tt ON t.term_id = tt.term_id
    WHERE tt.taxonomy IN (‘wp_theme’) AND t.name IN (‘twentytwentyfour’)

            LIMIT 1
         made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, register_block_core_template_part, build_template_part_block_variations, build_template_part_block_instance_variations, get_block_templates, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, WP_Tax_Query->get_sql, WP_Tax_Query->get_sql_clauses, WP_Tax_Query->get_sql_for_query, WP_Tax_Query->get_sql_for_clause, WP_Tax_Query->clean_query, WP_Tax_Query->transform_query, WP_Term_Query->query, WP_Term_Query->get_terms

    [30-Nov-2023 14:05:22 UTC] WordPress database error Malformed packet for query
    SELECT w96r_posts.*
    FROM w96r_posts
    WHERE 1=1 AND (
    0 = 1
    ) AND w96r_posts.post_type = ‘wp_template_part’ AND ((w96r_posts.post_status = ‘publish’))
    GROUP BY w96r_posts.ID
    ORDER BY w96r_posts.post_date DESC

         made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, register_block_core_template_part, build_template_part_block_variations, build_template_part_block_instance_variations, get_block_templates, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

    [30-Nov-2023 14:05:22 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT option_value FROM w96r_options WHERE option_name = ‘_transient_timeout_doing_cron’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, _wp_cron, spawn_cron, get_transient, get_option
    [30-Nov-2023 14:05:22 UTC] WordPress database error Malformed packet for query SELECT user_id, meta_key, meta_value FROM w96r_usermeta WHERE user_id IN (2) ORDER BY umeta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users, update_meta_cache
    [30-Nov-2023 14:05:22 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT * FROM w96r_users WHERE ID IN (2) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users
    [30-Nov-2023 14:05:22 UTC] WordPress database error Malformed packet for query
    SELECT w96r_posts.ID
    FROM w96r_posts
    WHERE 1=1 AND (
    0 = 1
    ) AND w96r_posts.post_type = ‘wp_global_styles’ AND ((w96r_posts.post_status = ‘publish’))
    GROUP BY w96r_posts.ID
    ORDER BY w96r_posts.post_date DESC
    LIMIT 0, 1
    made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, do_blocks, render_block, WP_Block->render, render_block_core_template_part, do_blocks, render_block, WP_Block->render, WP_Block->render, WP_Block->render, WP_Block->render, apply_filters(‘render_block’), WP_Hook->apply_filters, WP_Duotone::render_duotone_support, WP_Duotone::get_all_global_style_block_names, WP_Theme_JSON_Resolver::get_merged_data, WP_Theme_JSON_Resolver::get_user_data, WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles, WP_Query->query, WP_Query->get_posts
    [30-Nov-2023 14:05:22 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT w96r_posts.ID
    FROM w96r_posts
    WHERE 1=1 AND w96r_posts.post_type = ‘wp_navigation’ AND ((w96r_posts.post_status = ‘publish’))

                    ORDER BY w96r_posts.post_date DESC
                    LIMIT 0, 1
                 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('wp-includes/template-canvas.php'), get_the_block_template_html, do_blocks, render_block, WP_Block->render, render_block_core_template_part, do_blocks, render_block, WP_Block->render, WP_Block->render, WP_Block->render, render_block_core_navigation, block_core_navigation_get_fallback_blocks, WP_Navigation_Fallback::get_fallback, WP_Navigation_Fallback::get_most_recently_published_navigation, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

    [30-Nov-2023 14:05:22 UTC] WordPress database error Malformed packet for query
    SELECT t.term_id
    FROM w96r_terms AS t INNER JOIN w96r_term_taxonomy AS tt ON t.term_id = tt.term_id
    WHERE tt.taxonomy IN (‘wp_theme’) AND t.name IN (‘twentytwentyfour’)

            LIMIT 1
         made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, register_block_core_template_part, build_template_part_block_variations, build_template_part_block_instance_variations, get_block_templates, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, WP_Tax_Query->get_sql, WP_Tax_Query->get_sql_clauses, WP_Tax_Query->get_sql_for_query, WP_Tax_Query->get_sql_for_clause, WP_Tax_Query->clean_query, WP_Tax_Query->transform_query, WP_Term_Query->query, WP_Term_Query->get_terms

    [30-Nov-2023 14:05:22 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT w96r_posts.*
    FROM w96r_posts
    WHERE 1=1 AND (
    0 = 1
    ) AND w96r_posts.post_type = ‘wp_template_part’ AND ((w96r_posts.post_status = ‘publish’))
    GROUP BY w96r_posts.ID
    ORDER BY w96r_posts.post_date DESC

         made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, register_block_core_template_part, build_template_part_block_variations, build_template_part_block_instance_variations, get_block_templates, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

    [30-Nov-2023 14:05:22 UTC] Cron reschedule event error for hook: em_gateways_cron, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”em_minute”,”args”:[],”interval”:60}
    [30-Nov-2023 14:05:22 UTC] WordPress database error Malformed packet for query
    SELECT t.term_id
    FROM w96r_terms AS t INNER JOIN w96r_term_taxonomy AS tt ON t.term_id = tt.term_id
    WHERE tt.taxonomy IN (‘wp_theme’) AND t.name IN (‘twentytwentyfour’)

            LIMIT 1
         made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('wp-includes/template-canvas.php'), get_the_block_template_html, do_blocks, render_block, WP_Block->render, render_block_core_template_part, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, WP_Tax_Query->get_sql, WP_Tax_Query->get_sql_clauses, WP_Tax_Query->get_sql_for_query, WP_Tax_Query->get_sql_for_clause, WP_Tax_Query->clean_query, WP_Tax_Query->transform_query, WP_Term_Query->query, WP_Term_Query->get_terms

    [30-Nov-2023 14:05:22 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT w96r_posts.ID
    FROM w96r_posts
    WHERE 1=1 AND w96r_posts.post_name IN (‘footer’) AND (
    0 = 1
    ) AND w96r_posts.post_type = ‘wp_template_part’ AND ((w96r_posts.post_status = ‘publish’))
    GROUP BY w96r_posts.ID
    ORDER BY w96r_posts.post_date DESC
    LIMIT 0, 1
    made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, do_blocks, render_block, WP_Block->render, render_block_core_template_part, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [30-Nov-2023 14:05:22 UTC] WordPress database error Malformed packet for query SELECT post_id, meta_key, meta_value FROM w96r_postmeta WHERE post_id IN (443) ORDER BY meta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_site_icon, has_site_icon, get_site_icon_url, wp_get_attachment_image_url, wp_get_attachment_image_src, image_downsize, wp_attachment_is_image, wp_attachment_is, get_attached_file, get_post_meta, get_metadata, get_metadata_raw, update_meta_cache
    [30-Nov-2023 14:05:22 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT w96r_posts.ID
    FROM w96r_posts
    WHERE 1=1 AND w96r_posts.post_parent = 369 AND w96r_posts.post_type = ‘page’ AND ((w96r_posts.post_status = ‘publish’))

                    ORDER BY w96r_posts.post_title ASC
                    LIMIT 0, 1
                 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('wp-includes/template-canvas.php'), body_class, get_body_class, get_pages, WP_Query->query, WP_Query->get_posts

    [30-Nov-2023 14:05:49 UTC] WordPress database error Malformed packet for query SELECT * FROM w96r_users WHERE user_login = ‘Tony’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), WP->init, wp_get_current_user, _wp_get_current_user, apply_filters(‘determine_current_user’), WP_Hook->apply_filters, wp_validate_logged_in_cookie, wp_validate_auth_cookie, get_user_by, WP_User::get_data_by
    [30-Nov-2023 14:05:49 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT t.term_id
    FROM w96r_terms AS t INNER JOIN w96r_term_taxonomy AS tt ON t.term_id = tt.term_id
    WHERE tt.taxonomy IN (‘wp_theme’) AND t.name IN (‘twentytwentyfour’)

            LIMIT 1
         made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, register_block_core_template_part, build_template_part_block_variations, build_template_part_block_instance_variations, get_block_templates, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, WP_Tax_Query->get_sql, WP_Tax_Query->get_sql_clauses, WP_Tax_Query->get_sql_for_query, WP_Tax_Query->get_sql_for_clause, WP_Tax_Query->clean_query, WP_Tax_Query->transform_query, WP_Term_Query->query, WP_Term_Query->get_terms

    [30-Nov-2023 14:05:49 UTC] WordPress database error Malformed packet for query SELECT user_id, meta_key, meta_value FROM w96r_usermeta WHERE user_id IN (2) ORDER BY umeta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users, update_meta_cache
    [30-Nov-2023 14:05:49 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT * FROM w96r_users WHERE ID IN (2) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users
    [30-Nov-2023 14:05:49 UTC] WordPress database error Malformed packet for query SELECT post_id, meta_key, meta_value FROM w96r_postmeta WHERE post_id IN (443) ORDER BY meta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_site_icon, has_site_icon, get_site_icon_url, wp_get_attachment_image_url, wp_get_attachment_image_src, image_downsize, wp_attachment_is_image, wp_attachment_is, get_attached_file, get_post_meta, get_metadata, get_metadata_raw, update_meta_cache
    [30-Nov-2023 14:05:49 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT w96r_posts.ID
    FROM w96r_posts
    WHERE 1=1 AND w96r_posts.post_parent = 407 AND w96r_posts.post_type = ‘page’ AND ((w96r_posts.post_status = ‘publish’))

                    ORDER BY w96r_posts.post_title ASC
                    LIMIT 0, 1
                 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('wp-includes/template-canvas.php'), body_class, get_body_class, get_pages, WP_Query->query, WP_Query->get_posts

    [30-Nov-2023 14:06:15 UTC] WordPress database error Malformed packet for query SELECT * FROM w96r_users WHERE user_login = ‘Tony’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), WP->init, wp_get_current_user, _wp_get_current_user, apply_filters(‘determine_current_user’), WP_Hook->apply_filters, wp_validate_logged_in_cookie, wp_validate_auth_cookie, get_user_by, WP_User::get_data_by
    [30-Nov-2023 14:06:15 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT t.term_id
    FROM w96r_terms AS t INNER JOIN w96r_term_taxonomy AS tt ON t.term_id = tt.term_id
    WHERE tt.taxonomy IN (‘wp_theme’) AND t.name IN (‘twentytwentyfour’)

            LIMIT 1
         made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, register_block_core_template_part, build_template_part_block_variations, build_template_part_block_instance_variations, get_block_templates, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, WP_Tax_Query->get_sql, WP_Tax_Query->get_sql_clauses, WP_Tax_Query->get_sql_for_query, WP_Tax_Query->get_sql_for_clause, WP_Tax_Query->clean_query, WP_Tax_Query->transform_query, WP_Term_Query->query, WP_Term_Query->get_terms

    [30-Nov-2023 14:06:15 UTC] WordPress database error Malformed packet for query SELECT user_id, meta_key, meta_value FROM w96r_usermeta WHERE user_id IN (2) ORDER BY umeta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users, update_meta_cache
    [30-Nov-2023 14:06:15 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT * FROM w96r_users WHERE ID IN (2) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users
    [30-Nov-2023 14:06:15 UTC] WordPress database error Malformed packet for query SELECT post_id, meta_key, meta_value FROM w96r_postmeta WHERE post_id IN (443) ORDER BY meta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_site_icon, has_site_icon, get_site_icon_url, wp_get_attachment_image_url, wp_get_attachment_image_src, image_downsize, wp_attachment_is_image, wp_attachment_is, get_attached_file, get_post_meta, get_metadata, get_metadata_raw, update_meta_cache
    [30-Nov-2023 14:06:15 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT w96r_posts.ID
    FROM w96r_posts
    WHERE 1=1 AND w96r_posts.post_parent = 369 AND w96r_posts.post_type = ‘page’ AND ((w96r_posts.post_status = ‘publish’))

                    ORDER BY w96r_posts.post_title ASC
                    LIMIT 0, 1
                 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('wp-includes/template-canvas.php'), body_class, get_body_class, get_pages, WP_Query->query, WP_Query->get_posts

    [30-Nov-2023 14:06:35 UTC] WordPress database error Malformed packet for query SELECT * FROM w96r_users WHERE user_login = ‘Tony’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), WP->init, wp_get_current_user, _wp_get_current_user, apply_filters(‘determine_current_user’), WP_Hook->apply_filters, wp_validate_logged_in_cookie, wp_validate_auth_cookie, get_user_by, WP_User::get_data_by
    [30-Nov-2023 14:06:35 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT t.term_id
    FROM w96r_terms AS t INNER JOIN w96r_term_taxonomy AS tt ON t.term_id = tt.term_id
    WHERE tt.taxonomy IN (‘wp_theme’) AND t.name IN (‘twentytwentyfour’)

            LIMIT 1
         made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, register_block_core_template_part, build_template_part_block_variations, build_template_part_block_instance_variations, get_block_templates, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, WP_Tax_Query->get_sql, WP_Tax_Query->get_sql_clauses, WP_Tax_Query->get_sql_for_query, WP_Tax_Query->get_sql_for_clause, WP_Tax_Query->clean_query, WP_Tax_Query->transform_query, WP_Term_Query->query, WP_Term_Query->get_terms

    [30-Nov-2023 14:06:35 UTC] WordPress database error Malformed packet for query SELECT user_id, meta_key, meta_value FROM w96r_usermeta WHERE user_id IN (2) ORDER BY umeta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users, update_meta_cache
    [30-Nov-2023 14:06:35 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT * FROM w96r_users WHERE ID IN (2) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), get_the_block_template_html, the_post, WP_Query->the_post, update_post_author_caches, cache_users
    [30-Nov-2023 14:06:35 UTC] WordPress database error Malformed packet for query SELECT post_id, meta_key, meta_value FROM w96r_postmeta WHERE post_id IN (443) ORDER BY meta_id ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘wp-includes/template-canvas.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_site_icon, has_site_icon, get_site_icon_url, wp_get_attachment_image_url, wp_get_attachment_image_src, image_downsize, wp_attachment_is_image, wp_attachment_is, get_attached_file, get_post_meta, get_metadata, get_metadata_raw, update_meta_cache
    [30-Nov-2023 14:06:35 UTC] WordPress database error Lost connection to MySQL server during query for query
    SELECT w96r_posts.ID
    FROM w96r_posts
    WHERE 1=1 AND w96r_posts.post_parent = 369 AND w96r_posts.post_type = ‘page’ AND ((w96r_posts.post_status = ‘publish’))

                    ORDER BY w96r_posts.post_title ASC
                    LIMIT 0, 1
                 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('wp-includes/template-canvas.php'), body_class, get_body_class, get_pages, WP_Query->query, WP_Query->get_posts

    [30-Nov-2023 14:07:51 UTC] PHP Warning: mysqli_query(): (HY000/2006): MySQL server has gone away in /home/e82in60imnwt/test-site/wp-includes/class-wpdb.php on line 2349

    Thread Starter Antipole

    (@antipole)

    I tried an absolute redirection URL in my live site (working) and pulled it across to my test site. It works there too, so SItePush is fixing this one up.

    So my problems seem resolved. Thanks for your help. Sorry to have troubled you.

    Thread Starter Antipole

    (@antipole)

    Thanks for your fulsome response.

    Firstly. apologies for the issues with my test site. I had deactivated most plugins while troubleshooting and had failed to reactivate all needed. One, SitePush , is used to copy the database between the live and test site and takes care of fixing up the URLs (mostly) on the test site. That plugin was not active and hence the URLs were wrong. It is now active.

    Secondly, I have not worked on this site for a long while and had forgotten that I was blocking access to the full profile for not-logged-on users.

    Thirdly, because SitePush cannot fix up URLs in odd places such as within plugins, I have to use relative URLs so they work on both the live and test site. In StylePack profile, I do, indeed, have the redirection URL set to ‘/oops-cant-get-you-where-you-tried-to-go/’ which is the relative URL but StylePack seems to be always using it as absolute. How should I enter a relative URL here?

    Regarding the test site, search engines are blocked but I will look at further restrictions.

    Thanks

    Thread Starter Antipole

    (@antipole)

    Have resent – this time to [email protected] and not to [email protected] :-#)

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