Advanced Custom Fields dont show extra fields in user profile

Viewing 25 posts - 1 through 25 (of 32 total)
#163678

Hello,

Since a few days ago, the plugin has stopped displaying the data that users enter in the extra fields created with the Advanced Custom Fields plugin when registering on the web.

We have updated the WordPress after seeing this error and we have seen that there is a major update that changes the structure of the plugin.

Our problem is that our client does not want to update the plugin to this latest version because it would lose some changes that have been made in the plugin code (we have found that reverting these changes still does not work correctly).

Would there be any possibility to solve this error without having to make this update or is it totally necessary to update?

Thanks and sorry for the inconvenience.

#163689

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

Hope you are well. Can you please share the related URL of the data that users enter in the extra fields created with the Advanced Custom Fields plugin? if possible, Please, give your temporary wp-admin login details in a private reply for checking the issue.

Thank you and regards

#163805
This reply has been marked as private.
#163812

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

Hope you are well. I have checked that, advanced custom fields are coming fine here,

https://www.alcazar-im.com/register/

Are you talking about this page,

https://www.alcazar-im.com/dashboard/

please let me know

Thank and regards

#163912

Hi !

The extra fields are in the registration form and should be reflected in the user management page in the WordPress administration.

Right now if you login it shows you those empty fields.

Greetings !

#163921

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

Have you taken the backup of changes that have been made in the plugin code and can you please elaborate which changes have you made with the plugin? please let me know

Thank you and regards

#163968

Hi,

I only have some of the modifications although most of them are text modifications, I’ll post them for you if you want.

The only one that I have that is not just text is in the file /tpls/already-logged-in.php in line 30 that changed a link of a menu option.

I think there are more but I don’t have them located.

Regards !

#164116

Hi,

Is there any news about this?

Greetings !

#164117

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

Can you please let me know which text modifications you have done that we can make the backup for the next update

Regards

#164195

Hi,

Sorry for the delay, I was compiling all the changes and seeing if I saw any more.

These are all the changes I have:

/tpls/wpdm-login-form.php in line 60 change the text “Forgot Password?” to “Reset Password?”.

/tpls/userdashboard/profile.php in line 145 change the text “Package Name” to “Document Name” and in line 148 and 160 hide the “IP” column.

/tpls/already-logged-in.php in line 19 hide the text “You are already logged in.” and in line 29 change the text “Download History” to “Publications” and change the link from “echo get_permalink(get_option('__wpdm_user_dashboard'));” to “https://www.alcazar-im.com/resource-centre/”

/tpls/wpdm-dashboard.php in line 42 change the text from “echo $menu_item['name'];” to “Dashboard”.

/tpls/lost-password-form.php in line 20 hide the text “Lost Password?”.

Changes that i dont kwon exactly that they made:
/tpls/wpdm-dashboard.php in line 32 i have the coment “Remove ‘Download History’ and put ‘Documents’” but i didn’t see that modification:

if($menu_item['name']=="Download History"){
?>
<a class="udb-item <?php echo $udb_page == $page_id?'selected':'';?>" href="https://www.alcazar-im.com/resource-centre/"><i class="far fa-file-alt color-info mr-3"></i><?php _e('Publications', 'wmdpro'); ?></a>
<?php
 } else {

Note that the lines I indicate are indicative because I have seen that in many of the changes have been added space above and below to see it better and this varies the line with respect to the original file.

#164220

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

If I get you properly if you have modified download-manager main plugin tpls folder residing files, have you check this doc too for making backup your files,

Template Files

please let me know, thus you can update your plugin properly now

Thank you and regards

#164236

Hi,

Ok, if I understood correctly, I have to update and find where are the files that had the changes to create a copy in /{active-theme}/download-manager/ and make the modification there, right?

Greetings !

#164241

Nayeem Riddhi
Moderator

Yes, David, please follow this doc properly,

Template Files

Thank you and regards

#164289

Hi!

I have already made all the changes, updated and verified that the modifications are applied.

When checking if the part I started the ticket for has been solved, I see that it is still not working and the data of the extra fields are not saved.

Greetings !

#164292

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

If you are trying to save field as I image attached option, it is saving properly from my side

registration

Can you please check it again?

Thank you and regards

#164329

Hi!

But the problem is not that it is not saved when modifying it from the administration, the problem is that it is not saved when creating the user, which is what my client needs.

That is to say, my client needs that when a user registers and enters those 3 fields (organization, job title and country) it is saved and shown in the administration part.

Greetings !

#164346

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

Sorry for the inconvenience. The data for Advanced Custom Field add-on with register form is saving properly from my testing site. can you please enable/disable other plugins for checking, you may also switch theme to another for checking, please let me know then

thank you and regards

#164371

While I am deactivating plugins I have checked the hosting and I have seen that the PHP version is 7.2.34 (which is the newest that I can put). Could this be what causes the failure?

I say it to prioritize the change of version since I have to contact the server to see what we do.

#164372

Nayeem Riddhi
Moderator

Hello @limon-y-kiwi,

From my testing site, PHP is running on 7.4.25. I have tested from both sites WPDM PRO and the free version with Advanced Custom field add-on. The registered values are saving. please you can also contact your server administrator too

thank you and regards

#164910

Hello Again,

We have been able to update the PHP version to 8.0.13 and the Advanced Custom Fields plugin causes an error on the registration page.

Regards !

#164918

Nayeem Riddhi
Moderator

Hello David,

Can you please share which errors are showing from your side? we shall try to adjust it in the next updates

Thank you and regards

#165024

Hi Nayeem,

This is the error:
Fatal error: Uncaught Error: Non-static method WPDM\Form\Field::checkbox() cannot be called statically in D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\Form\Form.php:81 Stack trace: #0 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\Form\Form.php(185): WPDM\Form\Form->formGroup() #1 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\User\Register.php(82): WPDM\Form\Form->render() #2 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\User\Register.php(130): WPDM\User\Register::formFields() #3 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): WPDM\User\Register->form() #4 [internal function]: do_shortcode_tag() #5 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #6 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(240): do_shortcode() #7 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\themes\dt-the7\inc\shortcodes\vc_templates\vc_column_text.php(37): wpb_js_remove_wpautop() #8 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(271): require(‘…’) #9 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate() #10 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(366): WPBakeryShortCode->content() #11 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(1317): WPBakeryShortCode->output() #12 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): vc_do_shortcode() #13 [internal function]: do_shortcode_tag() #14 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #15 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(240): do_shortcode() #16 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\templates\shortcodes\vc_column.php(94): wpb_js_remove_wpautop() #17 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(271): require(‘…’) #18 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate() #19 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(366): WPBakeryShortCode->content() #20 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(1317): WPBakeryShortCode->output() #21 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): vc_do_shortcode() #22 [internal function]: do_shortcode_tag() #23 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #24 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(240): do_shortcode() #25 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\templates\shortcodes\vc_row.php(156): wpb_js_remove_wpautop() #26 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\themes\dt-the7\inc\shortcodes\vc_templates\vc_row.php(21): include(‘…’) #27 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(271): require(‘…’) #28 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\vc-row.php(40): WPBakeryShortCode->loadTemplate() #29 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(366): WPBakeryShortCode_Vc_Row->content() #30 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(1317): WPBakeryShortCode->output() #31 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): vc_do_shortcode() #32 [internal function]: do_shortcode_tag() #33 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #34 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\class-wp-hook.php(303): do_shortcode() #35 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\plugin.php(189): WP_Hook->apply_filters() #36 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\post-template.php(253): apply_filters() #37 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\themes\dt-the7\page.php(31): the_content() #38 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\template-loader.php(106): include(‘…’) #39 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-blog-header.php(19): require_once(‘…’) #40 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\index.php(17): require(‘…’) #41 {main} thrown in D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\Form\Form.php on line 81

Greetings !

#165060

Nayeem Riddhi
Moderator

Hello David,

Our developer should see the issue and update it thereby. Meanwhile please continue with recommended PHP version 7.4. I hope you have understood

Thank you and regards

#165085

Yes, I have already changed the PHP version to 7.4.

I am waiting for the update.

Thank you very much for your patience and help.

Regards !

#166481

Hello and happy new year,

My client advised me that the new update was out and I proceeded to update the plugin and return to PHP version 8.0.14 and I got an error again, I leave it below:

Fatal error: Uncaught Error: Non-static method WPDM\Form\Field::checkbox() cannot be called statically in D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\Form\Form.php:81 Stack trace: #0 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\Form\Form.php(185): WPDM\Form\Form->formGroup() #1 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\User\Register.php(82): WPDM\Form\Form->render() #2 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\User\Register.php(130): WPDM\User\Register::formFields() #3 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): WPDM\User\Register->form() #4 [internal function]: do_shortcode_tag() #5 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #6 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(240): do_shortcode() #7 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\themes\dt-the7\inc\shortcodes\vc_templates\vc_column_text.php(37): wpb_js_remove_wpautop() #8 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(271): require(‘…’) #9 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate() #10 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(366): WPBakeryShortCode->content() #11 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(1317): WPBakeryShortCode->output() #12 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): vc_do_shortcode() #13 [internal function]: do_shortcode_tag() #14 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #15 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(240): do_shortcode() #16 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\templates\shortcodes\vc_column.php(94): wpb_js_remove_wpautop() #17 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(271): require(‘…’) #18 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate() #19 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(366): WPBakeryShortCode->content() #20 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(1317): WPBakeryShortCode->output() #21 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): vc_do_shortcode() #22 [internal function]: do_shortcode_tag() #23 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #24 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(240): do_shortcode() #25 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\templates\shortcodes\vc_row.php(156): wpb_js_remove_wpautop() #26 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\themes\dt-the7\inc\shortcodes\vc_templates\vc_row.php(21): include(‘…’) #27 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(271): require(‘…’) #28 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\vc-row.php(40): WPBakeryShortCode->loadTemplate() #29 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\core\class-wpbakeryshortcode.php(366): WPBakeryShortCode_Vc_Row->content() #30 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\js_composer\include\helpers\helpers.php(1317): WPBakeryShortCode->output() #31 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(356): vc_do_shortcode() #32 [internal function]: do_shortcode_tag() #33 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\shortcodes.php(228): preg_replace_callback() #34 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\class-wp-hook.php(303): do_shortcode() #35 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\plugin.php(189): WP_Hook->apply_filters() #36 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\post-template.php(253): apply_filters() #37 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\themes\dt-the7\page.php(31): the_content() #38 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-includes\template-loader.php(106): include(‘…’) #39 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-blog-header.php(19): require_once(‘…’) #40 D:\Inetpub\vhosts\alcazar-im.com\httpdocs\index.php(17): require(‘…’) #41 {main} thrown in D:\Inetpub\vhosts\alcazar-im.com\httpdocs\wp-content\plugins\download-manager\src\Form\Form.php on line 81

I have gone back to PHP version 7.4.27 and tested if the part of saving the data in the registry works, it still does not work.

Greetings !

Viewing 25 posts - 1 through 25 (of 32 total)

The topic ‘Advanced Custom Fields dont show extra fields in user profile’ is closed to new replies.