bergerlaw
Forum Replies Created
-
Forum: Plugins
In reply to: [Permalink Manager Lite] Breaks Pagination in Kadence ThemeThank you!
Forum: Plugins
In reply to: [Permalink Manager Lite] Breaks Pagination in Kadence ThemeI think your last message is cut off, and I don’t see any difference in the code.
Forum: Plugins
In reply to: [Permalink Manager Lite] Breaks Pagination in Kadence ThemeThanks for this code, however, it generates an error: The code throws the following error: An error of type E_ERROR was caused in line 97 of the file /nas/content/live/allcardsdev1/wp-content/themes/kadence-child/functions.php. Error message: Uncaught ArgumentCountError: Too few arguments to function pm_pagination_trailing_slashes(), 1 passed in /nas/content/live/allcardsdev1/wp-includes/class-wp-hook.php on line 326 and exactly 2 expected in /nas/content/live/allcardsdev1/wp-content/themes/kadence-child/functions.php:97
Forum: Plugins
In reply to: [Permalink Manager Lite] Breaks Pagination in Kadence ThemeThe code throws the following error: An error of type E_ERROR was caused in line 97 of the file /nas/content/live/allcardsdev1/wp-content/themes/kadence-child/functions.php. Error message: Uncaught ArgumentCountError: Too few arguments to function pm_pagination_trailing_slashes(), 1 passed in /nas/content/live/allcardsdev1/wp-includes/class-wp-hook.php on line 326 and exactly 2 expected in /nas/content/live/allcardsdev1/wp-content/themes/kadence-child/functions.php:97
Stack trace:
#0 /nas/content/live/allcardsdev1/wp-includes/class-wp-hook.php(326): pm_pagination_trailing_slashes(‘https://allcard…’)
#1 /nas/content/live/allcardsdev1/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://allcard…’, Array)
#2 /nas/content/live/allcardsdev1/wp-content/plugins/permalink-manager/includes/core/permalink-manager-core-functions.php(574): apply_filters(‘permalink_manag…’, ‘https://allcard…’, ‘https://allcard…’)
#3 /nas/content/live/allcardsdev1/wp-includes/class-wp-hook.php(326): Permalink_Manager_Core_Functions::control_trailing_slashes(‘https://allcard…’)
#4 /nas/content/live/allcardsdev1/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://allcard…’, Array)
#5 /nas/content/live/allcardsdev1/wp-content/plugins/permalink-manager/includes/core/permalink-manager-uri-functions-post.php(120): apply_filters(‘permalink_manag…’, ‘https://allcard…’, Object(WP_Post), ‘https://allcard…’)
#6 /nas/content/live/allcardsdev1/wp-includes/class-wp-hook.php(326): Permalink_Manager_URI_Functions_Post::custom_post_permalinks(‘https://allcard…’, Object(WP_Post))
#7 /nas/content/live/allcardsdev1/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://allcard…’, Array)
#8 /nas/content/live/allcardsdev1/wp-includes/link-template.php(308): apply_filters(‘post_link’, ‘https://allcard…’, Object(WP_Post), false)
#9 /nas/content/live/allcardsdev1/wp-includes/link-template.php(158): get_permalink(Object(WP_Post), false)
#10 /nas/content/live/allcardsdev1/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(579): get_the_permalink(49769)
#11 /nas/content/live/allcardsdev1/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(108): RankMath\Replace_Variables\Post_Variables->get_url()
#12 /nas/content/live/allcardsdev1/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-manager.php(171): RankMath\Replace_Variables\Post_Variables->setup_post_variables()
#13 /nas/content/live/allcardsdev1/wp-includes/class-wp-hook.php(324): RankMath\Replace_Variables\Manager->setup(‘plugins.php’)
#14 /nas/content/live/allcardsdev1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#15 /nas/content/live/allcardsdev1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /nas/content/live/allcardsdev1/wp-admin/admin-header.php(118): do_action(‘admin_enqueue_s…’, ‘plugins.php’)
#17 /nas/content/live/allcardsdev1/wp-admin/plugins.php(621): require_once(‘/nas/content/li…’)
#18 {main}
?thrownForum: Plugins
In reply to: [Permalink Manager Lite] Breaks Pagination in Kadence ThemeIf I set it to remove the trailing slash, the pagination works. Now the question is whether removing the slash creates any other problems.
Forum: Plugins
In reply to: [Permalink Manager Lite] Breaks Pagination in Kadence ThemeThanks for the quick reply! It’s currently set to Use default settings.
Forum: Plugins
In reply to: [AI Engine] AI Wand Not WorkingI selected a paragraph and then tried both “Correct Text” and “Enhance Text” and it just kept spinning.
Forum: Plugins
In reply to: [Ad Inserter - Ad Manager & AdSense Ads] Color of Number in Ad TabsDisregard, I see that the color turns red if Insertion is set.
Forum: Plugins
In reply to: [Calculated Fields Form] While LoopOf course! Once the balance gets to $25 for most credit cards, that becomes the final payment. Thank you!
Forum: Plugins
In reply to: [Calculated Fields Form] While LoopHere was my first attempt:
(function() { var balance = fieldname2; var monthstopayoff = 0; var totalinterest = 0; var interestrate = fieldname3 / 100 / 12; while (balance > 0) { var monthinterest = balance * interestrate; totalinterest += monthinterest; balance -= (balance * .01); monthstopayoff++; } return monthstopayoff; })();
Note that fieldname2 is the loan balance. I was hardcoding some numbers just to try to get it to work. Ultimately I’m going to want to display how long to pay off the debt and total interest paid.
Forum: Plugins
In reply to: [Calculated Fields Form] While LoopThank you. It’s interesting that I have been using the Advanced Equations Editor, it doesn’t show any errors, but it’s still not working. I’ll keep trying.
Forum: Plugins
In reply to: [Calculated Fields Form] While LoopI’m trying to create a calculator that determines how long it will take to pay off a credit card making just the minimum payment. The trick is that as the balance gets lower, so does the minimum payment. So I wrote a while loop that I thought would handle this. It’s not working (no results at all and the page dies); perhaps I should try in a code editor that shows errors in the code if any.
Forum: Plugins
In reply to: [Calculated Fields Form] While LoopSo it’s javascript, not php?
Forum: Plugins
In reply to: [Calculated Fields Form] Reusing formulasThank you.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Json Auto Sync option not workingWhen I hover, it shows the group file name followed by “is not registered locally.” Not sure how to upload a screenshot.