ashbydesign
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta Box] Fatal error: include-exclude extension after updateI have paid for a new year – hadn’t realised the lapse, so it’s been useful for me to be able to get in contact with MB support here. Support is very good, so am very happy to pay!
Forum: Plugins
In reply to: [Meta Box] Fatal error: include-exclude extension after updateDone – and it’s fine. Thanks v. much.
Forum: Plugins
In reply to: [Meta Box] Fatal error: include-exclude extension after updateThanks v. much for looking into this – I haven’t been able to update the extension as for some reason the metabox updater hasn’t triggered the new 1.0.7 version – and my account is lapsed so can’t manually download the new version.
Forum: Plugins
In reply to: [Meta Box] Fatal error: include-exclude extension after updateSure: it’s a bit long.
// !META BOXES add_filter( 'rwmb_meta_boxes', 'casketfive_register_meta_boxes' ); function casketfive_register_meta_boxes( $meta_boxes ) { $prefix = 'casketfive_'; // !Casket News and Audio $meta_boxes[] = array( 'id' => 'footermeta', 'title' => 'NEWS and AUDIO panels (appear site-wide)', 'post_types' => array( 'page' ), 'include' => array( 'ID' => array( 4 ), ), 'fields' => array( array( 'name' => __( 'News title', 'casketfive' ), 'id' => $prefix . 'newspaneltitle', 'desc' => __( 'Title for news panel', 'casketfive' ), 'type' => 'text', ), array( 'name' => __( 'News text - approx 80 words', 'casketfive' ), 'id' => $prefix . 'newspaneltext', 'type' => 'wysiwyg', 'options' => array( 'textarea_rows' => 8, 'teeny' => true, 'media_buttons' => false, ), ), array( 'name' => __( 'News link', 'casketfive' ), 'id' => $prefix . 'newspanelurl', 'desc' => __( 'Add full URL to page on or off website. Include https://', 'casketfive' ), 'type' => 'url', ), array( 'name' => __( 'News link text', 'casketfive' ), 'id' => $prefix . 'newspanelurltext', 'desc' => __( 'URL Link text', 'casketfive' ), 'type' => 'text', ), array( 'name' => __( 'Audio text - approx 80 words<br>Links to Audio Page', 'casketfive' ), 'id' => $prefix . 'audiopaneltext', 'type' => 'wysiwyg', 'options' => array( 'textarea_rows' => 8, 'teeny' => true, 'media_buttons' => false, ), ), ) ); // !Audio for Story posts $meta_boxes[] = array( 'id' => 'audiostory', 'title' => 'AUDIO LINK', 'post_types' => array( 'story' ), 'fields' => array( array( 'name' => __( 'Audio Url', 'casketfive' ), 'id' => $prefix . 'audiofile', 'desc' => __( 'Copy the <b>Media Url</b> from related Podcast Episode (Posts) here.', 'casketfive' ), 'type' => 'url', ), array( 'name' => __( 'Voice Artist(s)', 'casketfive' ), 'id' => $prefix . 'voice', 'desc' => __( 'Add name of voice artist (use \'and\' plus commas if more than one.)', 'casketfive' ), 'type' => 'text', ), ) ); // !Pages meta $meta_boxes[] = array( 'id' => 'audiostory', 'title' => 'PAGE QUOTE - optional', 'post_types' => array( 'page' ), 'exclude' => array( 'ID' => array( 4 , 6760 ), ), 'fields' => array( array( 'name' => __( 'Page quote', 'casketfive' ), 'id' => $prefix . 'pagequote', 'desc' => __( 'Add a quote for the bottom of the page. Do not add inverted commas - just the words', 'casketfive' ), 'type' => 'textarea', ), array( 'name' => __( 'Quote citation', 'casketfive' ), 'id' => $prefix . 'pagecite', 'desc' => __( 'Who said this?', 'casketfive' ), 'type' => 'text', ), array( 'name' => __( 'Page foot Image', 'casketfive' ), 'id' => $prefix . 'pagefootimg', 'type' => 'image_advanced', 'max_file_uploads' => 1, ), ) ); // !Brooches meta // Default value update https://stackoverflow.com/questions/21171003/metabox-in-wordpress-not-updating-on-existing-posts $meta_boxes[] = array( 'id' => 'broochmeta', 'title' => 'BROOCH BACKGROUND: If your brooch is very light opt for a dark background on pop-up<br><br>BROOCH QUOTE: Optional quote for bottom of the page.<br><br>IMAGES: Please add the following images to the media library and then attach on this page.<br>1) Featured Image: 1024px maximum width or height<br>2) Desktop image. 3000px width x 380px height. Cropped image should be 1500px width, positioned to the left.<br>3) Devices image (for table and mobile): 1024px width x 190px height', 'post_types' => array( 'brooches' ), 'fields' => array( array( 'name' => __( 'Brooch Background', 'casketfive' ), 'desc' => __( '<b>Tick for a dark background for the zoom popup</b>', 'casketfive' ), 'id' => $prefix . 'broochbg', 'type' => 'checkbox', 'std' => 0, ), array( 'name' => __( 'Brooch page quote', 'casketfive' ), 'id' => $prefix . 'broochquote', 'desc' => __( 'Add a quote for the bottom of the brooch page. Do not add inverted commas - just the words', 'casketfive' ), 'type' => 'textarea', 'std' => __( 'Often I don’t recognize faces, but I always recognize the jewellery', 'casketfive' ), ), array( 'name' => __( 'Brooch page quote citation', 'casketfive' ), 'id' => $prefix . 'broochcite', 'desc' => __( 'Who said this?', 'casketfive' ), 'type' => 'text', 'std' => __( 'Jean Giraudoux 1882 -1944', 'casketfive' ), ), array( 'name' => __( 'Desktop Image', 'casketfive' ), 'desc' => 'Url for Desktop image: 3000px width x 380px height. Image should be 1500px width, positioned to the left.', 'id' => $prefix . 'desktop', 'type' => 'url', ), array( 'name' => __( 'Devices Image', 'casketfive' ), 'desc' => 'Mobile Devices image (for table and mobile): 1024px width x 190px height.', 'id' => $prefix . 'devices', 'type' => 'image_advanced', 'max_file_uploads' => 1, ), ) ); return $meta_boxes; } if ( ! function_exists( 'rwmb_meta' ) ) { function rwmb_meta( $key, $args = '', $post_id = null ) { return false; } }
Just had a second email from Formidable. They ask if I am using the caching function of WF – I am not.
*** FROM FORMIDABLE FORMS SUPPORT ***
Hi there,
The following CSS files are loading in on the backend for Formidable:
css/frm_admin.css
css/frm_grids.css
css/frm_fonts.css
I should mention too that if by chance you are using the caching function of Wordfence, it might be worth turning that off and seeing that is actually causing the issue. Again, just another idea as to what might be causing it.Let us know if you have any other questions!
Arggh – Will have to continue tomorrow – school collection time! Thanks for your help – may be back in contact. Sorry.
I have a .user.ini file appear instead
I have just deleted the php.ini file – as it was an empty file and thought it was wrongly there. Should I replace it?
I have
1) set “Firewall Policies > Various > Block the DOCUMENT_ROOT server variable in HTTP request” to “No”.
2) Disabled the Firewall altogether – Firewalll Options > Firewall protection DISABLED
3) Tried to connect again – Again the same response from Migrate DB
“The connection failed, an unexpected error occurred, please contact support. (#121 – scope: ajax_initiate_migration)”
Hmmm scratching head
I will try what you have suggested. It was my mistake not to have disabled initially… I have since tried the process with the disable firewall on, but not having any luck.
I’m not sure that the user session issue has any bearing – the notice has now disappeared.
But still the connection from WP Migrate is failing… with Ninja Firewall deactivated on the live site (as it should have been when I was initially updating the database using the Migrate interface)
hmmm…
Yes, the error does go. I can see there are issues with FB in general – seems a challenge for plugin devs.
Forum: Plugins
In reply to: [Admin Columns] Warning when Editing CommentsFast work appreciated.
Forum: Plugins
In reply to: [Admin Columns] Warning when Editing CommentsI am also getting the cannot modify header information warning when filtering in posts – when I disable the plugin, all works ok.
Warning: Cannot modify header information – headers already sent by (output started at …/public_html/wp-content/plugins/codepress-admin-columns/classes/column/custom-field.php:1) in …/public_html/wp-includes/pluggable.php on line 1196
*** admin-ajax.php is failing to load so this may be a server issue ***
Just to report back. Issue has been fixed. Host discovered a mod_security false positive rule detecting an sql injection – rule number 950901
There you go!