The Global Content Blocks are stored in the wp_options table. Search for “gcb_” in option_name.
In my case, the datas are available in the mySQL-table, but they are not shown in the GCB-option page at the dashboard and the contentblock shortcodes are not working on the pages.
Looking in the wp_options table, i found out that the option_values stored in a different way than on an other (working) Website:
The double quotes of the serialized data are written like
s:995:"a:6:{s:4:"name"
instead of
s:995:"a:6:{s:4:"name"
This means, you can try to replace all this
"
of the field names in the serialized data with the double quote.
But do NOT replace the " insight the field values!!
And additionally you have to controle the length of the fields (s:995 etc)!
Yes, we have had this bug hit us too – multiple times. For now, seems unwise to use.
Plugin Author
benz1
(@benz1)
Try reverting to an earlier version. Version 2.0.2 was stable, you can download it from https://downloads.wordpress.org/plugin/global-content-blocks.2.0.2.zip
I have version 2.1.5.
Do I need to revert to 2.0.2 if all seems to be working?
Link to download 2.0.2 brings up 404 not found.
The plugin is no longer in the repository.
All I found is the tracs and a few support posts:
https://plugins.trac.wordpress.org/browser/global-content-blocks
I can’t even bring up the old support threads for this plugin.
Does anyone know what’s happening?
regards Jason