• Hello,

    The plugin is flooding the debug.log file with the following code.

    – PHP Notice: Undefined offset: 0 in …/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1312
    – PHP Notice: Trying to get property ‘term_id’ of non-object in …/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1312
    – PHP Notice: Undefined offset: 0 in …/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1313
    – PHP Notice: Trying to get property ‘term_id’ of non-object in …/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1313
    – PHP Notice: Undefined offset: 0 in …/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1314
    – PHP Notice: Trying to get property ‘name’ of non-object in …/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1314`

    Whats the problem in this case and how can it be resolved?
    Kind regards,
    Qbo321

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Magazine3

    (@magazine3)

    We recently pushed the latest update. Can you please check it once by updating the schema plugin and let us know back if it fixes the issue?

    Thread Starter qbo321

    (@qbo321)

    It appears to be similar with the update, but on other lines.

    – PHP Notice: Undefined offset: 0 in …wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1322
    – PHP Notice: Trying to get property ‘term_id’ of non-object in …wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1322
    – PHP Notice: Undefined offset: 0 in …/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1323
    – PHP Notice: Trying to get property ‘term_id’ of non-object in …wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1323
    – PHP Notice: Undefined offset: 0 in …wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1324
    – PHP Notice: Trying to get property ‘name’ of non-object in …wp-content/plugins/schema-and-structured-data-for-wp/admin_section/structure_admin.php on line 1324`

    Plugin Support Sanjeev Kumar

    (@sanjeevsetu)

    Hi there!

    We will look at it again. just created a ticket

    Ref: https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1519

    Plugin Author Magazine3

    (@magazine3)

    We fixed it in our latest update 1.9.84. Can you please check it once by updating the schema plugin to the latest and let us know back if it fixes the issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Notice: Undefined offset’ is closed to new replies.