• Resolved Gianluca Del Gobbo

    (@gianlucadelgobbo)


    I got this warnings:
    <br />
    <b>Warning</b>: Creating default object from empty value in <b>/sites/dev.flyer/wp-content/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php</b> on line <b>268</b><br />
    <br />
    <b>Warning</b>: Creating default object from empty value in <b>/sites/dev.flyer/wp-content/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php</b> on line <b>268</b><br />
    <br />
    <b>Warning</b>: Creating default object from empty value in <b>/sites/dev.flyer/wp-content/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php</b> on line <b>268</b><br />

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am using wordpress 4.6 with WP REST API Controller 1.2 and got the same warning:

    <br />
    <b>Warning</b>: Creating default object from empty value in <b>/home/procu079/public_html/lojas/wp-content/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php</b> on line <b>268</b><br />
    <br />
    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/procu079/public_html/lojas/wp-content/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php:268) in <b>/home/procu079/public_html/lojas/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1196</b><br />
    <br />
    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/procu079/public_html/lojas/wp-content/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php:268) in <b>/home/procu079/public_html/lojas/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1196</b><br />
    <br />

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hello @alexsandro86 & @gianlucadelgobbo,

    Thank you for letting us know! We’ve updated the plugin to address this specific issue. You can now download the new version (1.2.1).

    Please let us know if any other problems arise; we care.

    I am closing this ticket.

    Cheers,
    Kevin.

    DenisPopov

    (@denispopov)

    Hi I am using 4.6.1 WP and 1.2.1 WP REST API Controller, getting this on any wp api v2 endpoint: `<b>Notice</b>: Undefined index: meta_data in
    <b>/web/app/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php</b> on line
    <b>295</b>
    <br />
    <br />
    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /web/app/plugins/wp-rest-api-controller/includes/class-wp-rest-api-controller.php:295) in
    <b>/web/wp/wp-includes/rest-api/class-wp-rest-server.php</b> on line
    <b>1196</b>`

    • This reply was modified 8 years ago by DenisPopov.
    • This reply was modified 8 years ago by DenisPopov.
    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Denis,

    Thanks for the information. We’ll update this in our next release.

    Kevin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning messages’ is closed to new replies.