Giter Site home page Giter Site logo

monecchi / cmb2-image-select-field-type Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 104 KB

Image Select field type for CMB2. Adds Visual Interest to your fields by using images.

License: MIT License

PHP 92.83% CSS 5.56% JavaScript 1.61%
cmb2 cmb2-addon cmb2-image-select-field-type image-select wordpress wordpress-plugin

cmb2-image-select-field-type's People

Contributors

monecchi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cmb2-image-select-field-type's Issues

PHP Catchable fatal error: Object of class CMB2_Field could not be converted to string

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.

2019-03-15 13_38_15-Window
With your field array declared

2019-03-15 13_38_43-Window
Without your field array declared

Is there something else I need to do, or is there an issue within the code?

Error git_update > plugin_popup

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

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.