arHandle cannot be null editing page type
Permalinkmysqlt error: [1048: Column 'arHandle' cannot be null] in EXECUTE("INSERT INTO Areas (cID,arHandle,arIsGlobal) VALUES ('177',NULL,'0')")
Based on a search here for similar reported errors I've tried clearing the cache and simplifying the page name. Neither of those helped.
In case it's relevant, I can't even get the Edit this Page button to appear for the page unless I'm logged in as the super user.
Ideas?
Thanks,
Mark
# concrete5 Version 5.6.3.1 # concrete5 Packages Easy Accordion (1.1.2), Easy tabs (1.7.2), Login (1.1.1), PHP block by ND (1.0), Revolution Slider (2.3.8), Simple Image Gallery (1.1.3), SuperMint Theme (2.0.7.2). # concrete5 Overrides blocks/image, js/ccm.app.js # concrete5 Cache Settings Block Cache - On Overrides Cache - Off Full Page Caching - Off # Server Software Apache # Server API cgi-fcgi # PHP Version
I guess it's a theme (SuperMint) bug that the default.php doesn't work? Or do I always have to create a .php file before adding a page type? If that's the case it seems like the UI should warn you about that.
Mark
If you open up the default.php in the theme folder can you see if there is some code like in my sample?
default.php:62: $a = new Area('Sidebar'); default.php:77: $a = new Area('Main'); default.php:84: $a = new Area('Under Main');
When it should be like this:
If you did not create a new php file for this page type, check your default.php