Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter vincentra

    (@vincentra)

    Added trim() to file_get_contents() in setSecret() and setDefuse() and now hashes match again.

    This might be just my particular case since I created a Python library that copies what lmfwc does so I can upload license keys programmatically and my keySecret and defuseKey didn’t have the \n at the end.

    Although for some reason the decryption process worked alright even with the new line.

    Thread Starter vincentra

    (@vincentra)

    I figured out the problem.

    It seems that the plugin takes the keySecret to be xxxxxxxxxxxxxxxxxxxxxxxxxxxx\n and most of my licenses were generated by xxxxxxxxxxxxxxxxxxxxxxxxxxxx so hashes don’t match and lmfwc_get_license() can’t find them.

    Thread Starter vincentra

    (@vincentra)

    Oh, nevermind then.
    I thought it would be possible since there’s the autosettlement.

    Thread Starter vincentra

    (@vincentra)

    Can’t the transactions be detected with the API key?

    Thread Starter vincentra

    (@vincentra)

    Hi, I can only test from my phone, but after updating I don’t see the errors anymore.

    Thread Starter vincentra

    (@vincentra)

    Thank you @rankmath I wasn’t sure if it was an error per se or just a weird coincidence with both plugins so I was ready to have to fix it myself every update.

    Thread Starter vincentra

    (@vincentra)

    Ok, I just found out you can use debug_backtrace() to get more info about what’s calling what.

    I just found that Rank Math is calling

    /**
     * Add content for custom column.
     *
     * @param string $column_name The name of the column to display.
     * @param int    $post_id     The current post ID.
     */
            public function columns_contents( $column_name, $post_id ) {
                    do_action( $column_name, $post_id );
            }

    this function where $column_name is ‘menu_order’ and ‘$post_id’ is the product id.

    
    WC_Admin_Menus->menu_order(104467) called at [/var/www/html/example.net/wp-includes/class-wp-hook.php:287]
    #1  WP_Hook->apply_filters(, Array ([0] => 104467)) called at [/var/www/html/example.net/wp-includes/class-wp-hook.php:311]
    #2  WP_Hook->do_action(Array ([0] => 104467)) called at [/var/www/html/example.net/wp-includes/plugin.php:478]
    #3  do_action(menu_order, 104467) called at [/var/www/html/example.net/wp-content/plugins/seo-by-rank-math/includes/admin/class-post-columns.php:170]
    #4  RankMath\\Admin\\Post_Columns->columns_contents(menu_order, 104467) called at [/var/www/html/example.net/wp-includes/class-wp-hook.php:287]
    #5  WP_Hook->apply_filters(, Array ([0] => menu_order,[1] => 104467)) called at [/var/www/html/example.net/wp-includes/class-wp-hook.php:311]
    #6  WP_Hook->do_action(Array ([0] => menu_order,[1] => 104467)) called at [/var/www/html/example.net/wp-includes/plugin.php:478]
    #7  do_action(manage_product_posts_custom_column, menu_order, 104467) called at [/var/www/html/example.net/wp-admin/includes/class-wp-posts-list-table.php:1265]
    #8  WP_Posts_List_Table->column_default(WP_Post Object ([ID] => 104467,[post_author] => 1,[post_date] => 2020-07-09 22:23:48,[post_date_gmt] => 2020-07-09 22:23:48,[post_content] => ,[post_title] => Custom Order,[post_excerpt] => ,[post_status] => publish,[comment_status] => open,[ping_status] => closed,[post_name] => custom-order,[to_ping] => ,[pinged] => ,[post_modified] => 2020-07-14 10:48:03,[post_modified_gmt] => 2020-07-14 10:48:03,[post_content_filtered] => ,[post_parent] => 0,[guid] => https://example.net/?post_type=product&p=104467,[menu_order] => 0,[post_type] => product,[post_mime_type] => ,[comment_count] => 0,[filter] => raw), menu_order) called at [/var/www/html/example.net/wp-admin/includes/class-wp-list-table.php:1361]
    #9  WP_List_Table->single_row_columns(WP_Post Object ([ID] => 104467,[post_author] => 1,[post_date] => 2020-07-09 22:23:48,[post_date_gmt] => 2020-07-09 22:23:48,[post_content] => ,[post_title] => Custom Order,[post_excerpt] => ,[post_status] => publish,[comment_status] => open,[ping_status] => closed,[post_name] => custom-order,[to_ping] => ,[pinged] => ,[post_modified] => 2020-07-14 10:48:03,[post_modified_gmt] => 2020-07-14 10:48:03,[post_content_filtered] => ,[post_parent] => 0,[guid] => https://example.net/?post_type=product&p=104467,[menu_order] => 0,[post_type] => product,[post_mime_type] => ,[comment_count] => 0,[filter] => raw)) called at [/var/www/html/example.net/wp-admin/includes/class-wp-posts-list-table.php:1298]
    #10 WP_Posts_List_Table->single_row(WP_Post Object ([ID] => 104467,[post_author] => 1,[post_date] => 2020-07-09 22:23:48,[post_date_gmt] => 2020-07-09 22:23:48,[post_content] => ,[post_title] => Custom Order,[post_excerpt] => ,[post_status] => publish,[comment_status] => open,[ping_status] => closed,[post_name] => custom-order,[to_ping] => ,[pinged] => ,[post_modified] => 2020-07-14 10:48:03,[post_modified_gmt] => 2020-07-14 10:48:03,[post_content_filtered] => ,[post_parent] => 0,[guid] => https://example.net/?post_type=product&p=104467,[menu_order] => 0,[post_type] => product,[post_mime_type] => ,[comment_count] => 0,[filter] => raw), 0) called at [/var/www/html/example.net/wp-admin/includes/class-wp-posts-list-table.php:741]
    #11 WP_Posts_List_Table->_display_rows(Array ([0] => WP_Post Object ([ID] => 104467,[post_author] => 1,[post_date] => 2020-07-09 22:23:48,[post_date_gmt] => 2020-07-09 22:23:48,[post_content] => ,[post_title] => Custom Order,[post_excerpt] => ,[post_status] => publish,[comment_status] => open,[ping_status] => closed,[post_name] => custom-order,[to_ping] => ,[pinged] => ,[post_modified] => 2020-07-14 10:48:03,[post_modified_gmt] => 2020-07-14 10:48:03,[post_content_filtered] => ,[post_parent] => 0,[guid] => https://example.net/?post_type=product&p=104467,[menu_order] => 0,[post_type] => product,[post_mime_type] => ,[comment_count] => 0,[filter] => raw)), 0) called at [/var/www/html/example.net/wp-admin/includes/class-wp-posts-list-table.php:718]
    #12 WP_Posts_List_Table->display_rows() called at [/var/www/html/example.net/wp-admin/includes/class-wp-list-table.php:1273]
    #13 WP_List_Table->display_rows_or_placeholder() called at [/var/www/html/example.net/wp-admin/includes/class-wp-list-table.php:1204]
    #14 WP_List_Table->display() called at [/var/www/html/example.net/wp-admin/edit.php:449]
    , referer: https://example.net/wp-admin/edit.php?post_type=product
    Thread Starter vincentra

    (@vincentra)

    Hey, I just found out that the error only happens when “Hongo Addons” and “Rank Math SEO” ar BOTH active, having only one of them active doesn’t cause any error.

    What am I supposed to do?

    Thread Starter vincentra

    (@vincentra)

    I obviously didn’t do the conflict test right the first time, I’ve found out that Rank Math is not the cause of the error.
    It seems to be the Hongo Addons plugin from my theme.

    Thanks.

    Thread Starter vincentra

    (@vincentra)

    Hi, I’ve already tried that.
    Only with woocommerce plugins active, I activate rank math and the error starts showing up.

    I’m using the last version of Rank Math SEO.

    Thread Starter vincentra

    (@vincentra)

    Specifically the product ids shown on the product admin list.
    https://example.net/wp-admin/edit.php?post_type=product

    I get 100 since I show only 100 per page.

    Thread Starter vincentra

    (@vincentra)

    Thanks, I found out it was Rank Math SEO, as soon as I activate it I get the errors.

    Thread Starter vincentra

    (@vincentra)

    Seems to be working after the update.

    Thread Starter vincentra

    (@vincentra)

    Here
    Site Kit by Google: version: 1.4.0, author: Google

    
    ### wp-core ###
    
    version: 5.3.2
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /shop/%category%/%postname%
    https_status: true
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 2
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/html/neogoods.net
    wordpress_size: 38.13 MB (39981603 bytes)
    uploads_path: /var/www/html/neogoods.net/wp-content/uploads
    uploads_size: 106.85 MB (112043702 bytes)
    themes_path: /var/www/html/neogoods.net/wp-content/themes
    themes_size: 29.08 MB (30492475 bytes)
    plugins_path: /var/www/html/neogoods.net/wp-content/plugins
    plugins_size: 200.82 MB (210577849 bytes)
    database_size: 58.27 MB (61095936 bytes)
    total_size: 433.15 MB (454191565 bytes)
    
    ### wp-active-theme ###
    
    name: Hongo Child (hongo-child)
    version: 1.0.0
    author: Vincent
    author_website: https://neogoods.net
    parent_theme: Hongo (hongo)
    theme_features: post-thumbnails, automatic-feed-links, title-tag, custom-header, custom-background, menus, html5, post-formats, wp-block-styles, align-wide, editor-style, responsive-embeds, editor-font-sizes, editor-color-palette, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets
    theme_path: /var/www/html/neogoods.net/wp-content/themes/hongo-child
    
    ### wp-parent-theme ###
    
    name: Hongo (hongo)
    version: 1.1
    author: ThemeZaa
    author_website: https://www.themezaa.com
    theme_path: /var/www/html/neogoods.net/wp-content/themes/hongo
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty: version: 1.1, author: the WordPress team
    
    ### wp-plugins-active (18) ###
    
    Aelia Foundation Classes for WooCommerce: version: 2.0.15.200310, author: Aelia
    Easy Theme and Plugin Upgrades: version: 2.0.1, author: Chris Jean
    Hongo Addons: version: 1.1, author: Themezaa Team
    License Manager for WooCommerce: version: 2.1.2, author: Dražen Bebić
    Media Cleaner: version: 5.5.8, author: Jordy Meow
    myCRED: version: 1.8.8, author: myCRED
    Rank Math SEO: version: 1.0.39.2, author: Rank Math
    Slider Revolution: version: 6.1.8, author: ThemePunch
    WooCommerce: version: 4.0.0, author: Automattic
    WooCommerce Admin: version: 1.0.0, author: WooCommerce
    WooCommerce Blacklister: version: 1.0.1.190129, author: Aelia
    WooCommerce Coupon Shortcodes: version: 1.13.0, author: itthinx, proaktion
    WooCommerce Extended Coupon Features FREE: version: 3.1.2, author: Soft79
    WooCommerce PayPal Checkout Gateway: version: 1.6.20, author: WooCommerce
    WooCommerce Services: version: 1.22.4, author: Automattic
    WooCommerce Support Ticket System: version: 12.2, author: Lagudi Domenico
    WPBakery Page Builder: version: 6.1, author: Michael M - WPBakery.com
    WP Mail SMTP: version: 1.8.1, author: WPForms
    
    ### wp-plugins-inactive (5) ###
    
    Mailchimp for WooCommerce: version: 2.3.4, author: Mailchimp
    Site Kit by Google: version: 1.4.0, author: Google
    SVG Support: version: 2.3.17, author: Benbodhi
    Webcraftic Clearfy – WordPress optimization plugin: version: 1.6.4, author: Webcraftic <wordpress.webraftic@gmail.com>
    WooCommerce Google Analytics Integration: version: 1.4.19, author: WooCommerce
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1691
    imagemagick_version: ImageMagick 6.9.11-0 Q16 x86_64 2020-03-09 https://imagemagick.org
    imagick_limits: 
      imagick::RESOURCETYPE_AREA: 2 GB
      imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
      imagick::RESOURCETYPE_FILE: 768
      imagick::RESOURCETYPE_MAP: 2 GB
      imagick::RESOURCETYPE_MEMORY: 991 MB
      imagick::RESOURCETYPE_THREAD: 1
    gd_version: 2.2.5
    ghostscript_version: not available
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-1062.9.1.el7.x86_64 x86_64
    httpd_software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
    php_version: 7.3.15 64bit
    php_sapi: apache2handler
    max_input_variables: 1000
    time_limit: 100
    memory_limit: 256M
    max_input_time: 60
    upload_max_size: 10M
    php_post_max_size: 8M
    curl_version: 7.29.0 NSS/3.44
    suhosin: false
    imagick_availability: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.4.12-MariaDB
    client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/html/neogoods.net/wp-content
    WP_PLUGIN_DIR: /var/www/html/neogoods.net/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: not writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    
    Thread Starter vincentra

    (@vincentra)

    Yeah, still persists.

Viewing 15 replies - 1 through 15 (of 16 total)