• Resolved luvwp10

    (@luvwp10)


    Asmlkm Imtiaz

    Great job with your plugin and thank you for sharing it with everyone.

    I just wanted to let you know I wanted to use your plugin but got a warning error (attached below) after installing it. Once I unistalled the plugin, it didn’t show anymore.

    Hopefully it can be corrected so it doesn’t affect or scare other users.

    
    Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /wp-includes/functions.php on line 5167
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-includes/functions.php:5167) in /wp-includes/functions.php on line 6221
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-includes/functions.php:5167) in /wp-admin/includes/misc.php on line 1259
    
    Warning: unlink(/wp-content/uploads/ultimate-blocks/blocks.editor.build.css): No such file or directory in /wp-content/plugins/ultimate-blocks/includes/class-ultimate-blocks-deactivator.php on line 35
    
    Warning: unlink(/wp-content/uploads/ultimate-blocks/blocks.style.build.css): No such file or directory in /wp-content/plugins/ultimate-blocks/includes/class-ultimate-blocks-deactivator.php on line 36
    
    Warning: unlink(/wp-content/uploads/ultimate-blocks/sprite-twitter.png): No such file or directory in /wp-content/plugins/ultimate-blocks/includes/class-ultimate-blocks-deactivator.php on line 37
    
    Warning: rmdir(/wp-content/uploads/ultimate-blocks): No such file or directory in /wp-content/plugins/ultimate-blocks/includes/class-ultimate-blocks-deactivator.php on line 38

    Thanks again
    shokran

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @luvwp10,

    We already have fix for this issue.

    We will include the fix in the next release.

    Please wait for the update.

    Regards.

    Thread Starter luvwp10

    (@luvwp10)

    Awesome, thanks for the reply and your great work Imtiaz

    Look forward to the update

    Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @luvwp10,

    We have released an update today with a fix for this issue.

    Please update the plugin to the latest version.

    Let us know if you come across any other issues.

    Regards.

    Thread Starter luvwp10

    (@luvwp10)

    Hi Imtiaz

    Thanks for the heads up

    Updated plugin and general warning error (as above) didnt come up anymore – YAY

    BUT

    Did a quick test using the content filter block on a page
    and it spat out the following errors:

    Notice: Undefined index: items in /wp-includes/rest-api.php on line 1245
    
    Notice: Undefined index: items in /wp-includes/rest-api.php on line 1245
    
    Notice: Undefined index: items in /wp-includes/rest-api.php on line 1245
    
    Notice: Undefined index: items in /wp-includes/rest-api.php on line 1245

    Not sure if the other block elements do the same

    • This reply was modified 6 years ago by luvwp10.
    Thread Starter luvwp10

    (@luvwp10)

    Update:
    errors come up for Table of contents block element

    Notice: Undefined offset: 3 in /wp-content/plugins/ultimate-blocks/src/blocks/table-of-contents/block.php on line 52
    
    Notice: Undefined offset: 4 in /wp-content/plugins/ultimate-blocks/src/blocks/table-of-contents/block.php on line 52

    I’m your user tester! πŸ™‚

    Hope that helps

    Thanks

    Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @luvwp10! Did you use a page break on the post where you used the table of contents block? The part of the code the error message mentioned is supposed to handle cases where the headings are on a different page. Could you share a link to a page where the error comes up?

    Thread Starter luvwp10

    (@luvwp10)

    Hi @alexius08

    Don’t think I used a page break. Page here:

    https://chinaspeakmethod.com/test-gutenberg-block-elements/

    Hope that helps

    Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @luvwp10!

    Thanks for providing more details. Upon trying to recreate the linked post, I found out that putting a heading inside another block causes the error messages you encountered with the table of contents. We’ll be working on a fix for this. Meanwhile, you may avoid those errors by not putting the headings inside other blocks.

    Thread Starter luvwp10

    (@luvwp10)

    Thanks for the update @alexius08!

    We look forward to the fix
    πŸ™‚

    Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @luvwp10!

    We’ve released an update that includes a fix for this issue. You may download the latest version of the plugin to get it.

    If you encounter further issues, please let us know.

    Regards.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘warning error when installing ulimate blocks plugin’ is closed to new replies.