Comments (17)
@jmml97 you are used the last plugin's version?
from advanced-custom-blocks.
Yes, I'm using the latest version, just downloaded it from GitHub like an hour ago.
from advanced-custom-blocks.
@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.
There you have it
from advanced-custom-blocks.
@jmml97 Yes, we need to change some stuff to make PHP happy. Should be an easy fix.
from advanced-custom-blocks.
Is there any progress on this? I'm getting the same errors.
from advanced-custom-blocks.
Try the latest version. This version uses a function to access some of the array properties.
from advanced-custom-blocks.
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.
@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.
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.
Try version 2.1.4 please
from advanced-custom-blocks.
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.
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.
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.
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.
@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.
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)
- Running into activation problem. HOT 8
- Unable to create new field group with block after reinstalling HOT 2
- Gallery type field don't save data HOT 3
- Unexpected end of file HOT 2
- Content templates not loaded from child theme HOT 1
- Block Category not combining HOT 1
- Block data not being passed to the_content for use on other pages HOT 3
- Javascript error when switching to the visual editor HOT 5
- Getting the blocks to show in the front end?
- More than one of the same Block causes data confusion HOT 2
- Add an icon control HOT 1
- Front end issue HOT 2
- Last created block overwrites data in previous same type blocks HOT 38
- Maybe a dumb question but having some issue getting a custom block come up in the menu HOT 16
- Multiple "Expand details" links in upload media form HOT 6
- Update Readme instructions with screenshots and latest hook implementation HOT 7
- Rename Plugin (someone took it) and publish to Wordpress HOT 6
- Discussion: Action/Filter API HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-custom-blocks.