Hi, we are trying to recreate this issue. Could you please provide more details? Additionally, could you share a short video demonstrating the steps you are taking and the issue occurring on your end? This would help us in recreating the issue more effectively.
Hi,
I just switched on my debug log and this message appears… I did nothing special…
Toengel@Alex
Hi,
can I assist further in fixing that problem? As you can see, I’m using the AMP plugin on my blog, too…
This is the English version of the error message:
Function amp_is_available was called incorrectly. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing the init hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the plugin with slug schema-and-structured-data-for-wp is responsible; please contact the author. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /wp-includes/functions.php on line 6114
Function amp_is_available was called incorrectly. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing the amp_init hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the plugin with slug schema-and-structured-data-for-wp is responsible; please contact the author. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /wp-includes/functions.php on line 6114
Toengel@Alex
Hi, We are currently looking into this concern and will provide you with an update soon. We kindly request your patience in the meantime.
same here. this is form debug log >>
[17-Dec-2024 07:04:08 UTC] PHP Notice: Fungsi amp_is_available ditulis secara <strong>tidak benar</strong>. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing the init hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the plugin with slug schema-and-structured-data-for-wp is responsible; please contact the author. Silakan lihat <a href=”https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/”>Debugging di WordPress</a> untuk informasi lebih lanjut. (Pesan ini ditambahkan pada versi 2.0.0.) in /home/mvuycilo/public_html/wp-includes/functions.php on line 6114 [17-Dec-2024 07:04:08 UTC] PHP Notice: Fungsi amp_is_available ditulis secara <strong>tidak benar</strong>. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing the init hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the plugin with slug schema-and-structured-data-for-wp is responsible; please contact the author. Silakan lihat <a href=”https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/”>Debugging di WordPress</a> untuk informasi lebih lanjut. (Pesan ini ditambahkan pada versi 2.0.0.) in /home/mvuycilo/public_html/wp-includes/functions.php on line 6114
Hi @bakabaco,
Kindly update the plugin to the latest version 1.39 and check again. If the issue persists, let us know.
Already update version 1.39 and the problem still persist : [17-Dec-2024 11:38:29 UTC] PHP Notice: Fungsi amp_is_available ditulis secara <strong>tidak benar</strong>. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing the init hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the plugin with slug schema-and-structured-data-for-wp is responsible; please contact the author. Silakan lihat <a href=”https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/”>Debugging di WordPress</a> untuk informasi lebih lanjut. (Pesan ini ditambahkan pada versi 2.0.0.) in /home/mvuycilo/public_html/wp-includes/functions.php on line 6114 .
Hi, We are checking this concern and will provide you with an update soon. We kindly request your patience in the meantime.