Custom Post can't save information
-
Hi,
I can’t save “Update Changes” will not save point and tag for
Publishing content on website: Deduct points Publishing on custom post type. Is there something did I missed ?wp-admin/admin.php?page=myCRED_page_hooks
-
Hi fcpro.
If you enable WP_DEBUG in your wp-config.php file, and re-visit the website, do you get any error messages?
Since the last time it worked and now, have you added any customisations or done any changes?
What is your myCRED version?
Just turned on DeBUG.
Yes getting error messages.wp 3.5.2
myCred Version 1.1.2I don’t know if it worked before as I never used this hook.
No I have not added any customisations or done any changes.
RegardsCan you tell me what error message you get?
#1) Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information.
(This message was added in version 3.3.) in
….. domain-name/public_html/wp-includes/functions.php on line 2962#2) Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks.
Please see Debugging in WordPress for more information.
(This message was added in version 3.3.) in
….. domain-name /public_html/wp-includes/functions.php on line 2962#3) Notice: add_custom_image_header is deprecated since version 3.4!
Use add_theme_support( ‘custom-header’, $args ) instead. in
…. domain-name/public_html/wp-includes/functions.php on line 2841#4) Notice: Undefined index: action in
…. domain-name/public_html/wp-content/themes/clicamigo2/functions.php on line 269Hmm. None of those errors are in relation to myCRED. Have you tried to see if it is your theme or another plugin that might not get along with myCRED?
Try disabling plugins to see when the issue diapers.
Would it be possible for you to take a screenshot showing the issue as I do not understand what exactly the issue is.
Hi,
All plugin are not active (they are off).
Where do I send screenshot ?Thank
You can paste them online and link them here.
New post types default to 0 and an empty log template. You will need to change these to your own values. This is because a zero point value will tell myCRED to ignore this post type (by default), until you change this to something else.
Could it be because of «S» httpS
Ah now I understand.
Can you save any other hook details?Hmmm – so far I think everything is saved – every thing in «log» page seems to work ?
log page meaning the: wp-admin/admin.php?page=myCREDThe issue is with the abstract myCRED_Hook class.
I will have to come up with a better way to handle this hook. Till then, you will need to change the file:mycred/abstracts/mycred-abstract-hook.php
on line 47 from this:
$this->prefs = mycred_apply_defaults( $this->defaults, $this->prefs );to this:
$this->prefs = wp_parse_args( $this->prefs, $this->defaults );
The topic ‘Custom Post can't save information’ is closed to new replies.