Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter cesdls

    (@cesdls)

    Awesome Support 6.1.2

    Thread Starter cesdls

    (@cesdls)

    Thanks. I got it working temporarily by disabling the file upload feature, that seems to be where the error is occurring. See the error details below.

    Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/custom-fields/field-types/class-cf-taxonomy.php on line 52

    Fatal error: Uncaught TypeError: pathinfo(): Argument #1 ($path) must be of type string, array given in /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php:1402 Stack trace: #0 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php(1402): pathinfo(Array, 4) #1 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): WPAS_File_Upload->limit_upload(Array) #2 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /home4/artmodel/public_html/utahdesertremote/wp-admin/includes/file.php(803): apply_filters(‘wp_handle_uploa…’, Array) #4 /home4/artmodel/public_html/utahdesertremote/wp-admin/includes/file.php(1075): wp_handle_upload(Array, Array, ‘2023-02-05 15:5…’, ‘wp_handle_uploa…’) #5 /home4/artmodel/public_html/utahdesertremote/wp-admin/includes/media.php(303): wp_handle_upload(Array, Array, ‘2023-02-05 15:5…’) #6 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php(1198): media_handle_upload(‘wpas_files_0’, 1218) #7 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php(1514): WPAS_File_Upload->process_upload() #8 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): WPAS_File_Upload->new_ticket_attachment(1218, Array) #9 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #10 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-post.php(387): do_action(‘wpas_open_ticke…’, 1218, Array) #12 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-post.php(149): wpas_insert_ticket(Array, false, 1, ‘standard-ticket…’) #13 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-post.php(185): wpas_open_ticket(Array) #14 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): wpas_new_ticket_submission(Array) #15 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #16 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #17 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-actions.php(40): do_action(‘wpas_do_submit…’, Array) #18 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): wpas_process_actions(”) #19 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #20 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /home4/artmodel/public_html/utahdesertremote/wp-settings.php(617): do_action(‘init’) #22 /home4/artmodel/public_html/utahdesertremote/wp-config.php(158): require_once(‘/home4/artmodel…’) #23 /home4/artmodel/public_html/utahdesertremote/wp-load.php(50): require_once(‘/home4/artmodel…’) #24 /home4/artmodel/public_html/utahdesertremote/wp-blog-header.php(13): require_once(‘/home4/artmodel…’) #25 /home4/artmodel/public_html/utahdesertremote/index.php(17): require(‘/home4/artmodel…’) #26 {main} thrown in /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php on line 1402

    Thread Starter cesdls

    (@cesdls)

    That is where I added the code. I also tried with and without comments on the last two lines. I also tried changing custom to pose, poses, post and posts and none of the combinations made any difference.

    I commented on the number of lines since your copy seems to have 50 more lines of code so I wondered what they were doing differently than my copy. Do I need an updated copy of the .php file(s)?

    Thread Starter cesdls

    (@cesdls)

    Unfortunately that didn’t work. I did notice in your referenced screenshot that your php file has 277 lines where my copy only has 227. The other files in the shortcode folder have a 1/26/2016 date.

    Thread Starter cesdls

    (@cesdls)

    Yes, that is the shortcode I’m using. I did find this FAQ information on the BestWebSoft page that appears to address this situation. https://support.bestwebsoft.com/hc/en-us/articles/115000108423-I-have-custom-post-types-where-I-output-the-information-via-custom-query-to-the-database-How-can-I-add-the-pagination-block-to-this-custom-post-type-

    The pagination plugin works fine until a filter is applied.

    Example:

    Go to the ArtModels360 page and choose “Browse Poses.” The number of pages is shown at the bottom of the grid of thumbnail images.

    Now click on “Female” to filter for just female models and wait for the page to refresh. Scroll to the bottom and you’ll see that the number of pages block is not visible.

    • This reply was modified 8 years, 4 months ago by cesdls.
    Thread Starter cesdls

    (@cesdls)

    Apparently I can’t include links in my reply.

    You can see the pagination on [my website using the “Browse Poses” menu item]. I currently have pagination enabled but am still retaining the default “Older posts” link for my customer’s convenience.

    Their website is [the BestWebSoft website] and the plugin is available for free so you can download and review the code.

    The ability to show pagination (number of pages of results and ability to navigate to other pages of results) is very important for a website with lots of content.

    Thread Starter cesdls

    (@cesdls)

    You can see the pagination on http://www.artmodels360.com/?s=&post_type=pose. I currently have pagination enabled but am still retaining the default “Older posts” link for my customer’s convenience.

    Their website is https://bestwebsoft.com/products/wordpress/plugins/pagination/ and the plugin is available for free so you can download and review the code.

    The ability to show pagination (number of pages of results and ability to navigate to other pages of results) is very important for a website with lots of content.

    Thanks. It was checked so I unchecked it and saved the settings and now it’s working fine.

    I’m having the same problem with the new version 3.2.1. I am not using Nested Pages.

    I typically choose “Copy to a new draft” to create a new post. The initial slug ends with -2 and previous versions replaced the temporary slug with one based on the updated post title. The new version keeps the temporary slug. If I then copy that to a new draft I get -2-2 and so on. As it is now I have to manually edit both the post title and the slug.

    Thread Starter cesdls

    (@cesdls)

    It turns out that you have to click on the “Edit Post Type” button to save your changes. I was looking for a “Save” or “Update” button.

    Now my problem is that I’m using it with the Meta Data & Taxonomies Filter and I can’t get the MDTF filters to show on my custom post type, though they do show on regular posts. I can’t find an option to enable MDTF filters in the settings or screen options.

    Thread Starter cesdls

    (@cesdls)

    Duh – I found the problem

Viewing 11 replies - 1 through 11 (of 11 total)