Title: error php
Last modified: November 27, 2022

---

# error php

 *  Resolved [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * (@renaisonp)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/)
 * Hello,
 * We have an error php detected :
 *     ```
       Undefined index: query
   
       08:30 27/11/2022/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3653
   
       wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3653
       saswp_youtube_check_validate_url()
       wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3637
       saswp_unique_multidim_array()
       wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3625
       saswp_get_video_metadata()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:3387
       saswp_default_video_object_scjhema()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:262
       saswp_get_all_schema_markup_output()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:141
       saswp_schema_markup_output()
       wp-includes/class-wp-hook.php:308
       do_action('wp_head')
       wp-includes/general-template.php:3043
       wp_head()
       wp-content/themes/neve/header.php:46
       load_template('wp-content/themes/neve/header.php')
       wp-includes/template.php:718
       locate_template()
       wp-includes/general-template.php:48
       get_header()
       wp-content/themes/neve/page.php:10
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-php-28%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

1 [2](https://wordpress.org/support/topic/error-php-28/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-php-28/page/2/?output_format=md)

 *  [LNN](https://wordpress.org/support/users/ewan-norman/)
 * (@ewan-norman)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16238386)
 * Same exact issue here…
 *  Thread Starter [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * (@renaisonp)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16238447)
 * where ?
 *  [LNN](https://wordpress.org/support/users/ewan-norman/)
 * (@ewan-norman)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16238517)
 * In the error logs, and it’s even visible in the frontend.
 *  Thread Starter [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * (@renaisonp)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16239171)
 * Yes I know, it was myself who pointed it out to you and gave the list of errors
   above (27/11/2022/plugins/schema-and-structured-data-for-wp/admin_section/common-
   function.php:3653, etc …)
 * But how to solve the problem?
    Or to make myself better understood, how to prevent
   these php errors?
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16239175)
 * Sorry for the inconvenience. Regarding the common-function.php error, we already
   raised the GitHub ticket in our repository and we are working on it and it will
   be fixed in the next coming milestone 1.9.105. Once it gets fixed then we will
   get back to you with an update.
 * Here is the reference GitHub link: [https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1784](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1784)
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16239212)
 * We have fixed this in our latest update 1.9.105. Can you please check once by
   updating the plugin to the latest version and let us know back if you face any
   issues? So that we will help you to fix them.
 *  Thread Starter [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * (@renaisonp)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16241464)
 * Thanks you
 * After updating and clearing the cache, it seems that the errors are no longer
   displayed in red, but the errors list below:
 * `wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.
   php:25
    SASWP_Youtube::getVideoInfo() wp-content/plugins/schema-and-structured-
   data-for-wp/admin_section/common-function.php:3582 saswp_get_video_metadata()
   wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:3387
   saswp_default_video_object_scjhema() wp-content/plugins/schema-and-structured-
   data-for-wp/output/function.php:262 saswp_get_all_schema_markup_output() wp-content/
   plugins/schema-and-structured-data-for-wp/output/function.php:141 saswp_schema_markup_output()
 * wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:
   23
    file_get_contents() wp-content/plugins/schema-and-structured-data-for-wp/
   core/3rd-party/youtube.php:23 SASWP_Youtube::getVideoInfo() wp-content/plugins/
   schema-and-structured-data-for-wp/admin_section/common-function.php:3582 saswp_get_video_metadata()
   wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:3387
   saswp_default_video_object_scjhema() wp-content/plugins/schema-and-structured-
   data-for-wp/output/function.php:262 saswp_get_all_schema_markup_output() wp-content/
   plugins/schema-and-structured-data-for-wp/output/function.php:141 saswp_schema_markup_output()
 * Extension : schema-and-structured-data-for-wp
    Avertissement (supprimé) wp-content/
   plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:23 file_get_contents()
   wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:
   23 SASWP_Youtube::getVideoInfo() wp-content/plugins/schema-and-structured-data-
   for-wp/admin_section/common-function.php:3582 saswp_get_video_metadata() wp-content/
   plugins/schema-and-structured-data-for-wp/output/function.php:3387 saswp_default_video_object_scjhema()
   wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:262 
   saswp_get_all_schema_markup_output() wp-content/plugins/schema-and-structured-
   data-for-wp/output/function.php:141 saswp_schema_markup_output()
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16242945)
 * Sorry for the inconvenience. We have tested this on our end but not getting these
   errors. Can you please show us where you are getting these errors? If possible
   please share a short video to replicate the issue, So that we will test the same
   and help you to fix them.
 *  Thread Starter [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * (@renaisonp)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16243057)
 * We have these errors in the Query Monitor. We don’t know how to produce videos,
   but we don’t do anything in particular: these errors are detected by the Query
   Monitor when the pages are displayed, for example page : [https://www.alcor-controles.fr](https://www.alcor-controles.fr)
 * errors :
 *     ```
       wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:25
       SASWP_Youtube::getVideoInfo()
       wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3582
       saswp_get_video_metadata()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:3387
       saswp_default_video_object_scjhema()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:262
       saswp_get_all_schema_markup_output()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:141
       saswp_schema_markup_output()
       wp-includes/class-wp-hook.php:308
       do_action('wp_head')
       wp-includes/general-template.php:3043
       wp_head()
       wp-content/themes/neve/header.php:46
       load_template('wp-content/themes/neve/header.php')
       wp-includes/template.php:718
       locate_template()
       wp-includes/general-template.php:48
       get_header()
       wp-content/themes/neve/page.php:10
       Extension : schema-and-structured-data-for-wp
       Avertissement (supprimé)	file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0	1	
       wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:23
       file_get_contents()
       wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:23
       SASWP_Youtube::getVideoInfo()
       wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3582
       saswp_get_video_metadata()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:3387
       saswp_default_video_object_scjhema()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:262
       saswp_get_all_schema_markup_output()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:141
       saswp_schema_markup_output()
       wp-includes/class-wp-hook.php:308
       do_action('wp_head')
       wp-includes/general-template.php:3043
       wp_head()
       wp-content/themes/neve/header.php:46
       load_template('wp-content/themes/neve/header.php')
       wp-includes/template.php:718
       locate_template()
       wp-includes/general-template.php:48
       get_header()
       wp-content/themes/neve/page.php:10
       Extension : schema-and-structured-data-for-wp
       Avertissement (supprimé)	file_get_contents(https://www.googleapis.com/youtube/v3/videos?part=contentDetails%2Csnippet%2Cstatistics&id=kAkTYbLWaFA&key=AIzaSyBBR7na271uSzwjNO8wgJxiZ9eI6bhiywk): failed to open stream: no suitable wrapper could be found	1	
       wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:23
       file_get_contents()
       wp-content/plugins/schema-and-structured-data-for-wp/core/3rd-party/youtube.php:23
       SASWP_Youtube::getVideoInfo()
       wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3582
       saswp_get_video_metadata()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:3387
       saswp_default_video_object_scjhema()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:262
       saswp_get_all_schema_markup_output()
       wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:141
       saswp_schema_markup_output()
       wp-includes/class-wp-hook.php:308
       do_action('wp_head')
       wp-includes/general-template.php:3043
       wp_head()
       wp-content/themes/neve/header.php:46
       load_template('wp-content/themes/neve/header.php')
       wp-includes/template.php:718
       locate_template()
       wp-includes/general-template.php:48
       get_header()
       wp-content/themes/neve/page.php:10
       ```
   
 *  [LNN](https://wordpress.org/support/users/ewan-norman/)
 * (@ewan-norman)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16243680)
 * Hello,
    I can still see notices on my server logs. Please see the below screenshot:
 * [https://u.pcloud.link/publink/show?code=XZa1PWVZ1nJsPTDvT4R05M5Yg8HQLzB6sVtk](https://u.pcloud.link/publink/show?code=XZa1PWVZ1nJsPTDvT4R05M5Yg8HQLzB6sVtk)
 * Thanks
 *  Thread Starter [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * (@renaisonp)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16244096)
 * Yes the screenshot does show php errors
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/#post-16244530)
 * Thanks for the info. We have inspected it in the query monitor but did not get
   the mentioned errors over there: [https://prnt.sc/9_5NxYNnbMGf](https://prnt.sc/9_5NxYNnbMGf)
 * If possible, Can you please check once if is there any conflict with other plugins?
 *  Thread Starter [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * (@renaisonp)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/page/2/#post-16245435)
 * no the reason for php errors is not a conflict with other plugins
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/page/2/#post-16248120)
 * Sorry for the inconvenience. We will cross check it again and we will get back
   to you with the fix.
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/page/2/#post-16256832)
 * Please go through the structured data settings support tab if possible.

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

1 [2](https://wordpress.org/support/topic/error-php-28/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-php-28/page/2/?output_format=md)

The topic ‘error php’ is closed to new replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

 * 31 replies
 * 3 participants
 * Last reply from: [renaisonp](https://wordpress.org/support/users/renaisonp/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/error-php-28/page/3/#post-16278360)
 * Status: resolved