monecchi / cmb2-image-select-field-type Goto Github PK
View Code? Open in Web Editor NEWImage Select field type for CMB2. Adds Visual Interest to your fields by using images.
License: MIT License
Image Select field type for CMB2. Adds Visual Interest to your fields by using images.
License: MIT License
Hi,
I am trying to put this script as a standalone script in my WordPress site, and have copied the files and pointed to them properly. I have had to comment out line 31 (add_action( 'plugins_loaded', array( $this, 'setup_plugin_updater' ), 10, 1 );
) in my installation as that would bring about a 500 error, but now I am being given the error
Object of class CMB2_Field could not be converted to string
whenever I try to display the field in my options page. The array I have used is the exact same one you have in your README file, except it is inside a $cmb->add_field
variable, as every other field in my options page is. If I include your field, it will include the title, but not load the field, and every field afterwards will not load either.
With your field array declared
Without your field array declared
Is there something else I need to do, or is there an issue within the code?
Hi,
Some issues:
02-Dec-2020 15:41:53 UTC] PHP Parse error: syntax error, unexpected ',' in xxx/plugins/cmb2-image-select-field-type-master/git-updater.php on line 146
[02-Dec-2020 15:43:55 UTC] PHP Parse error: syntax error, unexpected ')' in xxx/plugins/cmb2-image-select-field-type-master/git-updater.php on line 147
PHP 7.3.x and Wordpres 5.5.3
Can you help me, please?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.