Giter Site home page Giter Site logo

Comments (17)

ATomilov avatar ATomilov commented on September 24, 2024

@jmml97 you are used the last plugin's version?

from advanced-custom-blocks.

jmml97 avatar jmml97 commented on September 24, 2024

Yes, I'm using the latest version, just downloaded it from GitHub like an hour ago.

from advanced-custom-blocks.

ATomilov avatar ATomilov commented on September 24, 2024

@jmml97 can you send a first notice's bit of code screenshot ? Because in my code editor have no post index on line 190.

from advanced-custom-blocks.

jmml97 avatar jmml97 commented on September 24, 2024

image

There you have it

from advanced-custom-blocks.

rchipka avatar rchipka commented on September 24, 2024

@jmml97 Yes, we need to change some stuff to make PHP happy. Should be an easy fix.

from advanced-custom-blocks.

Steviant-zz avatar Steviant-zz commented on September 24, 2024

Is there any progress on this? I'm getting the same errors.

from advanced-custom-blocks.

rchipka avatar rchipka commented on September 24, 2024

Try the latest version. This version uses a function to access some of the array properties.

from advanced-custom-blocks.

Steviant-zz avatar Steviant-zz commented on September 24, 2024

Still getting this, I'm afraid:

Notice: Undefined index: post in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 247

Notice: Undefined index: post_id in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 62

Notice: Undefined index: post in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 63

Notice: Undefined index: post_id in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 63

Notice: Undefined index: attributes in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 63

Notice: Undefined index: block_name in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 253

Notice: Undefined index: block_name in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 253

Notice: Undefined index: post in /var/www/public/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 266

from advanced-custom-blocks.

rchipka avatar rchipka commented on September 24, 2024

@steviant can you double check your installed version? I don't think the referenced variables even exist at those indexes in the latest version.

from advanced-custom-blocks.

fdm-group avatar fdm-group commented on September 24, 2024

I have similar issue with latest version of the plugin:

Notice: Undefined index: post in C:\MAMP\htdocs\fresh\wp-content\plugins\advanced-custom-blocks-master\advanced-custom-blocks.php on line 326

Notice: Undefined index: block_name in C:\MAMP\htdocs\fresh\wp-content\plugins\advanced-custom-blocks-master\advanced-custom-blocks.php on line 332

Notice: Undefined index: block_name in C:\MAMP\htdocs\fresh\wp-content\plugins\advanced-custom-blocks-master\advanced-custom-blocks.php on line 332

Notice: Undefined index: block_name in C:\MAMP\htdocs\fresh\wp-content\plugins\advanced-custom-blocks-master\advanced-custom-blocks.php on line 332

Notice: Undefined index: block_name in C:\MAMP\htdocs\fresh\wp-content\plugins\advanced-custom-blocks-master\advanced-custom-blocks.php on line 332

Notice: Undefined index: block_name in C:\MAMP\htdocs\fresh\wp-content\plugins\advanced-custom-blocks-master\advanced-custom-blocks.php on line 332

Notice: Undefined index: post_id in C:\MAMP\htdocs\fresh\wp-content\plugins\advanced-custom-blocks-master\advanced-custom-blocks.php on line 62

from advanced-custom-blocks.

rchipka avatar rchipka commented on September 24, 2024

Try version 2.1.4 please

from advanced-custom-blocks.

sidoneill avatar sidoneill commented on September 24, 2024

I get this issue with version 2.1.4 on MAMP (but works fine with 2.0.2). I get the issue with both of these versions on my flywheel production server, same site (a multisite).

Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 190 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 39 Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: attributes in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 39 Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: attributes in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 39 Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: attributes in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 39 Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: attributes in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 39 Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: attributes in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 39 Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post_id in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: attributes in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 40 Notice: Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 207

from advanced-custom-blocks.

sidoneill avatar sidoneill commented on September 24, 2024

Also seeing:

[10-Oct-2018 13:58:04 UTC] PHP Notice:  Undefined index: post in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 190
[10-Oct-2018 13:58:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function acf_get_field_groups() in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php:194
Stack trace:
#0 /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php(116): acf_gb_get_block_field_groups()
#1 /www/wp-includes/class-wp-hook.php(286): {closure}('')
#2 /www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /www/wp-settings.php(453): do_action('init')
#5 /www/wp-config.php(92): require_once('/www/wp-setting...')
#6 /www/wp-load.php(37): require_once('/www/wp-config....')
#7 /www/wp-admin/admin.php(31): require_once('/www/wp-load.ph...')
#8 /www/wp-admin/index.php(10): require_once('/www/wp-admin/a...')
#9 {main}
  thrown in /www/wp-content/plugins/advanced-custom-blocks/advanced-custom-blocks.php on line 194

from advanced-custom-blocks.

klihelp avatar klihelp commented on September 24, 2024

Same, php error/notice
( ! ) Notice: Undefined index: block_name in /var/www/html/wp-content/plugins/acf-custom-blocks/advanced-custom-blocks.php on line 319

from advanced-custom-blocks.

 avatar commented on September 24, 2024

Getting similar error

`
Notice: Undefined index: block_name in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 319

Notice: Undefined index: block_name in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 319

Notice: Undefined index: post in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 339

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Notice: Undefined index: block_meta in /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/phyn2/wp-content/plugins/advanced-custom-blocks-master/advanced-custom-blocks.php:31) in /Applications/MAMP/htdocs/phyn2/wp-includes/pluggable.php on line 1219`

from advanced-custom-blocks.

rchipka avatar rchipka commented on September 24, 2024

@GregPhyn I'd gladly accept a PR from anyone getting these errors.

All that needs to be done is to put an isset() condition around each one of these lines.

from advanced-custom-blocks.

Loic57 avatar Loic57 commented on September 24, 2024

same for me, I'm a noob dev, I have no idea what to do.

In fact I don't even see my new block on the admin, I can create It in ACF but not seeing it in gutenberg

from advanced-custom-blocks.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.