Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Error 500 on backend after update #6748
    ruby
    Member

    While I was waiting for feedback to this (HTTP 500 Internal Server Error) inquiry…

    I had been seeing the following “PHP Fatal error” a lot in /var/log/http/error_log.
    “PHP Fatal error: Call to undefined function mb_strtolower() in
    /var/www/html/wp-content/plugins/piklist/includes/class-piklist.php on line 1228”

    So I installed mbstring (per WordPress’s instructions below) and restarted httpd.
    https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-mb_strtolower

    Yum updated the following packages and now I’m able to access my WP-ADMIN page again (No more HTTP 500 errors).

    Jun 19 03:31:22 ip-xxx-xxx-xxx-xxx yum[31466]: Updated: php-common-5.4.16-36.1.el7_2.1.x86_64
    Jun 19 03:31:23 ip-xxx-xxx-xxx-xxx yum[31466]: Updated: php-cli-5.4.16-36.1.el7_2.1.x86_64
    Jun 19 03:31:23 ip-xxx-xxx-xxx-xxx yum[31466]: Updated: php-pdo-5.4.16-36.1.el7_2.1.x86_64
    Jun 19 03:31:23 ip-xxx-xxx-xxx-xxx yum[31466]: Updated: php-mysql-5.4.16-36.1.el7_2.1.x86_64
    Jun 19 03:31:23 ip-xxx-xxx-xxx-xxx yum[31466]: Updated: php-5.4.16-36.1.el7_2.1.x86_64
    Jun 19 03:31:23 ip-xxx-xxx-xxx-xxx yum[31466]: Installed: php-mbstring-5.4.16-36.1.el7_2.1.x86_64

    in reply to: Error 500 on backend after update #6747
    ruby
    Member

    I have the same problem (blank page w/ HTTP 500 Internal Server Error).

    However, I don’t use WordPress’s FTP feature. I deleted the old plugin via command line and then got the new version using wget.

    After I enable the plugin, http://mywordpress_website_FQDN/wp-admin becomes inaccessible (until I delete entire Piklist plugin folder).

    Can you please advise?

    Thanks,

    ruby
    Member

    You are correct, Steve. Demos was still on. I pressed deactivate but didn’t save changes.

    I was also wrong about the additional tabs. Apparently they did not exist before installing Piklist.

    Demos definitely off now. “My custom fields” section has appeared toward the bottom of edit profile page.

    Thank you very much for your time and assistance.

    ruby
    Member

    [[email protected] users]# pwd
    /var/www/html/wp-content/themes/iconic-one-pro/piklist/parts/users

    [[email protected] users]# ll
    total 4
    -rw-r–r– 1 root root 254 Jun 16 09:37 my-fields.php

    [[email protected] xxx.xxx.xxx.xxx users]# cat my-fields.php
    <?php
    /*
    Title: My custom fields
    */

    piklist(‘field’, array(
    ‘type’ => ‘text’
    ,’field’ => ‘field_one’
    ,’label’ => ‘First Field’
    ));

    piklist(‘field’, array(
    ‘type’ => ‘colorpicker’
    ,’field’ => ‘field_two’
    ,’label’ => ‘Second Field’
    ));

    ruby
    Member

    Please see attached screenshot. These tabs have alway existed when editing user profiles. Way before I installed Piklist plugin. Thanks.

    Attachments:
    You must be logged in to view attached files.
    ruby
    Member

    Sorry, I misread your second line… but yes, demo is now turned off.

    ruby
    Member

    Done, Piklist Demos was turned on but is now deactivated.

    Just to clarify: I’m not looking to “create tabs on the user profile screen”.

    I’m still trying to figure out how to get “My custom fields” section to appear (when I oen WordPress and edit any users profile) as specified in Step 6.

    Thanks,

    ruby
    Member

    Sorry Steve,

    I didn’t know there was someplace else to set up WordPress user profiles other than:
    http://mywordpresswebsitesFQDN/wp-admin/users.php (basically WP Dashboard > Users > Edit).

    Thanks for the link, I’ll definitely read the trough its contents.
    However, just to make sure we’re on the same page:

    By following Step 6 in the first tutorial, where exactly am I supposed to find “My Custom Fields” after creating the plugin-folder/parts/users/my-fields.php – if not by using the location and method I’ve detailed above?

    ruby
    Member

    Hi Steve, Thank you very much for the reply.
    Unfortunately, it’s not turning out to be as simple as I would have expected.
    I copied /plugin-folder/parts/meta-box/my-fields.php to /plugin-folder/parts/users/my-fields.php
    (then removed the line for Post Type).
    Afterward, I checked each of the users’ profile tabs (Default, General, Basic, etc.) yet I don’t see the section “My custom fields”.
    So I’m trying to figure out what I’m doing wrong… thanks.

Viewing 9 posts - 1 through 9 (of 9 total)