Forum Replies Created

Viewing 15 replies - 46 through 60 (of 307 total)
  • Thread Starter almendron

    (@almendron)

    • This reply was modified 1 year, 1 month ago by almendron.
    • This reply was modified 1 year, 1 month ago by almendron.
    Thread Starter almendron

    (@almendron)

    Check. Bug fixed. Thank you very much for your help.

    Thread Starter almendron

    (@almendron)

    Perfect. I was just informing you to check the code to avoid problems with PHP version 8.4.

    Thread Starter almendron

    (@almendron)

    Thread Starter almendron

    (@almendron)

    Thank you for the information. I will wait for the new version. I can work without problems if I keep the ‘Query Monitor’ plugin activated.

    Thread Starter almendron

    (@almendron)

    This solution does not solve the problem.

    I have only found one solution: change ‘DNS_NS’ to ‘DNS_A’ in the line
    $dns_records = dns_get_record( $domain, DNS_NS )

    Thread Starter almendron

    (@almendron)

    I have added what you have told me and the problem is not solved.

    Thread Starter almendron

    (@almendron)

    Test number 1:
    Query Monitor plugin activated – WP_DEBUG and WP_DEBUG_DISPLAY false.
    Errors are not displayed on the screen. The plugin reports the two errors in the corresponding section.

    Test number 2:
    Query Monitor plugin deactivated
    WP_DEBUG and WP_DEBUG_DISPLAY: It does not matter whether it is ‘false’ or ‘true’. The result is the same: Errors are displayed on the screen. The error description pushes the menu down and the various commands are not accessible.

    JETPACK_DEV_DEBUG: It does not matter whether it is ‘false’ or ‘true’. The result is the same.

    Thread Starter almendron

    (@almendron)

    I have added define( 'JETPACK_DEV_DEBUG', true ); and the error persists

    Thread Starter almendron

    (@almendron)

    You are spelling the URL wrong. It’s not “/compartir/jetpack/debug.txtPlease

    91.201.160.79:49878 - - [12/Feb/2025:13:55:06 +0100] "GET /compartir/jetpack/debug.txtPlease HTTP/2.0" 302 192 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36" 507 "0.012/s"

    but “/compartir/jetpack/debug.txt”

    https://www.almendron.com/compartir/jetpack/debug.txt

    Query Monitor enabled: the error is not displayed on the screen, but the plugin reports both errors.

    [07-Feb-2025 170143 UTC] PHP Warning  dns_get_record() DNS Query failed in Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-statussrcclass-host.php on line 149
    [07-Feb-2025 170143 UTC] PHP Stack trace
    [07-Feb-2025 170143 UTC] PHP 1. {main}() Cwamp64wwwblogwp-adminindex.php0
    [07-Feb-2025 170143 UTC] PHP 2. require_once() Cwamp64wwwblogwp-adminindex.php137
    [07-Feb-2025 170143 UTC] PHP 3. do_action($hook_name = 'admin_print_scripts') Cwamp64wwwblogwp-adminadmin-header.php148
    [07-Feb-2025 170143 UTC] PHP 4. WP_Hook-do_action($args = [0 = '']) Cwamp64wwwblogwp-includesplugin.php517
    [07-Feb-2025 170143 UTC] PHP 5. WP_Hook-apply_filters($value = '', $args = [0 = '']) Cwamp64wwwblogwp-includesclass-wp-hook.php348
    [07-Feb-2025 170143 UTC] PHP 6. AutomatticJetpackAssetsScript_Datarender_script_data('') Cwamp64wwwblogwp-includesclass-wp-hook.php324
    [07-Feb-2025 170143 UTC] PHP 7. AutomatticJetpackAssetsScript_Dataget_admin_script_data() Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-assetssrcclass-script-data.php86
    [07-Feb-2025 170143 UTC] PHP 8. apply_filters($hook_name = 'jetpack_admin_js_script_data', $value = ['site' = ['admin_url' = 'httplocalhostblogwp-admin', 'date_format' = 'l, j de F de Y', 'icon' = '', 'is_multisite' = FALSE, 'plan' = [...], 'rest_nonce' = '3165104b8d', 'rest_root' = 'httplocalhostblogwp-json', 'title' = 'Bitácora Almendrón', 'wp_version' = '6.7.1', 'wpcom' = [...]], 'user' = ['current_user' = [...]]]) Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-assetssrcclass-script-data.php146
    [07-Feb-2025 170143 UTC] PHP 9. WP_Hook-apply_filters($value = ['site' = ['admin_url' = 'httplocalhostblogwp-admin', 'date_format' = 'l, j de F de Y', 'icon' = '', 'is_multisite' = FALSE, 'plan' = [...], 'rest_nonce' = '3165104b8d', 'rest_root' = 'httplocalhostblogwp-json', 'title' = 'Bitácora Almendrón', 'wp_version' = '6.7.1', 'wpcom' = [...]], 'user' = ['current_user' = [...]]], $args = [0 = ['site' = [...], 'user' = [...]]]) Cwamp64wwwblogwp-includesplugin.php205
    [07-Feb-2025 170143 UTC] PHP 10. AutomatticJetpackPublicizePublicize_Script_Dataset_admin_script_data($data = ['site' = ['admin_url' = 'httplocalhostblogwp-admin', 'date_format' = 'l, j de F de Y', 'icon' = '', 'is_multisite' = FALSE, 'plan' = [...], 'rest_nonce' = '3165104b8d', 'rest_root' = 'httplocalhostblogwp-json', 'title' = 'Bitácora Almendrón', 'wp_version' = '6.7.1', 'wpcom' = [...]], 'user' = ['current_user' = [...]], 'connection' = ['apiRoot' = 'httplocalhostblogwp-json', 'apiNonce' = '3165104b8d', 'registrationNonce' = '9a47455013', 'connectionStatus' = [...], 'userConnectionData' = [...], 'connectedPlugins' = [...], 'wpVersion' = '6.7.1', 'siteSuffix' = 'localhostblog', 'connectionErrors' = [...], 'isOfflineMode' = TRUE, 'calypsoEnv' = '']]) Cwamp64wwwblogwp-includesclass-wp-hook.php324
    [07-Feb-2025 170143 UTC] PHP 11. AutomatticJetpackStatusHost-get_known_host_guess() Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-publicizesrcclass-publicize-script-data.php73
    [07-Feb-2025 170143 UTC] PHP 12. AutomatticJetpackStatusHost-get_hosting_provider_by_nameserver($domain = 'localhost') Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-statussrcclass-host.php273
    [07-Feb-2025 170143 UTC] PHP 13. AutomatticJetpackStatusHost-get_nameserver_dns_records($domain = 'localhost') Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-statussrcclass-host.php219
    [07-Feb-2025 170143 UTC] PHP 14. dns_get_record($hostname = 'localhost', $type = 2) Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-statussrcclass-host.php149
    [07-Feb-2025 170143 UTC] PHP Warning foreach() argument must be of type arrayobject, bool given in Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-statussrcclass-host.php on line 151
    [07-Feb-2025 170143 UTC] PHP Stack trace
    [07-Feb-2025 170143 UTC] PHP 1. {main}() Cwamp64wwwblogwp-adminindex.php0
    [07-Feb-2025 170143 UTC] PHP 2. require_once() Cwamp64wwwblogwp-adminindex.php137
    [07-Feb-2025 170143 UTC] PHP 3. do_action($hook_name = 'admin_print_scripts') Cwamp64wwwblogwp-adminadmin-header.php148
    [07-Feb-2025 170143 UTC] PHP 4. WP_Hook-do_action($args = [0 = '']) Cwamp64wwwblogwp-includesplugin.php517
    [07-Feb-2025 170143 UTC] PHP 5. WP_Hook-apply_filters($value = '', $args = [0 = '']) Cwamp64wwwblogwp-includesclass-wp-hook.php348
    [07-Feb-2025 170143 UTC] PHP 6. AutomatticJetpackAssetsScript_Datarender_script_data('') Cwamp64wwwblogwp-includesclass-wp-hook.php324
    [07-Feb-2025 170143 UTC] PHP 7. AutomatticJetpackAssetsScript_Dataget_admin_script_data() Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-assetssrcclass-script-data.php86
    [07-Feb-2025 170143 UTC] PHP 8. apply_filters($hook_name = 'jetpack_admin_js_script_data', $value = ['site' = ['admin_url' = 'httplocalhostblogwp-admin', 'date_format' = 'l, j de F de Y', 'icon' = '', 'is_multisite' = FALSE, 'plan' = [...], 'rest_nonce' = '3165104b8d', 'rest_root' = 'httplocalhostblogwp-json', 'title' = 'Bitácora Almendrón', 'wp_version' = '6.7.1', 'wpcom' = [...]], 'user' = ['current_user' = [...]]]) Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-assetssrcclass-script-data.php146
    [07-Feb-2025 170143 UTC] PHP 9. WP_Hook-apply_filters($value = ['site' = ['admin_url' = 'httplocalhostblogwp-admin', 'date_format' = 'l, j de F de Y', 'icon' = '', 'is_multisite' = FALSE, 'plan' = [...], 'rest_nonce' = '3165104b8d', 'rest_root' = 'httplocalhostblogwp-json', 'title' = 'Bitácora Almendrón', 'wp_version' = '6.7.1', 'wpcom' = [...]], 'user' = ['current_user' = [...]]], $args = [0 = ['site' = [...], 'user' = [...]]]) Cwamp64wwwblogwp-includesplugin.php205
    [07-Feb-2025 170143 UTC] PHP 10. AutomatticJetpackPublicizePublicize_Script_Dataset_admin_script_data($data = ['site' = ['admin_url' = 'httplocalhostblogwp-admin', 'date_format' = 'l, j de F de Y', 'icon' = '', 'is_multisite' = FALSE, 'plan' = [...], 'rest_nonce' = '3165104b8d', 'rest_root' = 'httplocalhostblogwp-json', 'title' = 'Bitácora Almendrón', 'wp_version' = '6.7.1', 'wpcom' = [...]], 'user' = ['current_user' = [...]], 'connection' = ['apiRoot' = 'httplocalhostblogwp-json', 'apiNonce' = '3165104b8d', 'registrationNonce' = '9a47455013', 'connectionStatus' = [...], 'userConnectionData' = [...], 'connectedPlugins' = [...], 'wpVersion' = '6.7.1', 'siteSuffix' = 'localhostblog', 'connectionErrors' = [...], 'isOfflineMode' = TRUE, 'calypsoEnv' = '']]) Cwamp64wwwblogwp-includesclass-wp-hook.php324
    [07-Feb-2025 170143 UTC] PHP 11. AutomatticJetpackStatusHost-get_known_host_guess() Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-publicizesrcclass-publicize-script-data.php73
    [07-Feb-2025 170143 UTC] PHP 12. AutomatticJetpackStatusHost-get_hosting_provider_by_nameserver($domain = 'localhost') Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-statussrcclass-host.php273
    [07-Feb-2025 170143 UTC] PHP 13. AutomatticJetpackStatusHost-get_nameserver_dns_records($domain = 'localhost') Cwamp64wwwblogwp-contentpluginsjetpackjetpack_vendorautomatticjetpack-statussrcclass-host.php219
    Thread Starter almendron

    (@almendron)

    I have discovered the following: if I activate the ‘Query Monitor’ plugin, then the error disappears.

    This plugin was the only difference between the three sites. The error did not occur on the one where this plugin was installed.

    *********************************

    Correction: the error persists but is no longer displayed. The ‘Query Monitor’ plugin shows the two warnings.

    • This reply was modified 1 year, 4 months ago by almendron.
    Thread Starter almendron

    (@almendron)

    Intermittent error: My mistake. On one of the sites I deactivated the plugin and I thought it was fixed. The error is permanent.

    I deactivate JepPack: error disappears
    Delete – Install – Activate: error returns

    are your site on Offline mode at all? Yes.

    have you reported this to your hosting provider? I work on local (localhost with wampserver).
    It is not a wampserver problem as the error only appears on two of the three sites.

    Forbidden page. I don’t get it. I upload the file with TXT extension: https://www.almendron.com/compartir/jetpack/debug.txt
    Please confirm that it is legible now

    Thread Starter almendron

    (@almendron)

    Have you found the solution?

    I have found that the error has been reported by more people.

    Example: https://wordpress.org/support/topic/dns_get_record-warning-on-localhost/

    Thread Starter almendron

    (@almendron)

    I work the local. I have three sites with the same theme. Also with the same plugins.
    The error only appears on one of them. I have deactivated all plugins except JetPack and activated the Twenty Twenty-Three theme. The error does not disappear.

    I can access the administration, but the error information pushes the menu down and the options cannot be accessed.
    The error information is displayed even if I select ‘false’ for WP_DEBUG.

    View full error log

    Thread Starter almendron

    (@almendron)

    Y también comprobado: al marcar la categoría con ID=2, coge TODAS las categorías cuyo ID comienza por 2.

Viewing 15 replies - 46 through 60 (of 307 total)