Al.Janoubie
Forum Replies Created
-
Hello @rizaardiyanto
The function pp_series_group_theme_archive_excerpt() is hooked into the get_the_excerpt filter. In the latest update, this function was defined to strictly require two arguments. However, many themes and third-party plugins (like TaxoPress and Elementor) apply this filter using only one argument.
Error Log Trace:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function pp_series_group_theme_archive_excerpt(), 1 passed in …/wp-includes/class-wp-hook.php on line 341 and exactly 2 expected in …/organize-series/addons/grouping/legacy-includes.php:452Steps to Reproduce:
1. Use PublishPress Series v3.1 with the Grouping addon enabled.
2. Use a plugin like TaxoPress (Related Posts) or Elementor (Post Content widget) that triggers the get_the_excerpt filter.The site crashes with a Critical Error when rendering the post.
I have temporarily fixed this on my production site by making the second parameter optional in:
wp-content/plugins/organize-series/addons/grouping/legacy-includes.php Line 452.Also, I did report it on Github, added the suggested fix, and asked for it to be included in the next maintenance release
https://github.com/publishpress/publishpress-series/issues/1081Yes, The development modification works.
And it works even if “Post List Box Selection” is not set to Custom Template.Hello @rizaprihananto ,
In Series Post List Box, I use this code:
<div class="seriesbox center"><span class="seriesmeta">«( %series_title_linked% )»</span>%series_icon_linked%<br><ul class="serieslist-ul">%post_title_list%</ul><br></div>%postcontent%Here is a screenshot with the result on v2.14:
- This reply was modified 8 months, 2 weeks ago by Al.Janoubie. Reason: the screenshot is not appearing
Sorry, I forget to add that Gemini has a model called: text-embedding-large-exp-03-07 (Experimental) which support 8k tokens / 3k dimensions + Multilingual Support.
It is a good choice to add too.
I’m not a developer, But if I were in your place, I would suggest using [shortcode ] inside html native widget.
Hi @senols
Yes, you got it right. But the summarizing process should be dynamic to accept different dimensions and different scenarios. May be a text box with default prompt such as this:
Summarize this: [text] in 700 words maximum, the processed text should maintain the same writing style and number of paragraphs, don’t summarize quotes and bla bla bla. end the summary with url to the post in the format: “read more in the article: bla bla bla”
and the output of this prompt should be sent to embedding, instead of original Articles / posts.in this way, the users are free to alter the prompt the way they want, controlling all the embedded text. And on the other hand it is just a single box before processing all posts. Simple idea, but very Efficient.
The symbols of # / * are normal, They are shorts for html <h1>, <h2>, <strong> tags.
You can remove them, if your Prompt instructs to unformatted text.
Considering The maximum input size of 8191 tokens is limited to 10% or less if the site language is not Latin, is there anyway to use AI to summarize context (keeping the same info, style of the writer, or number of paragraphs) before embedding?
I think a good prompt (maybe a customized one, by the user) should solve the problem completely.
Please add this suggestion to the next version. It is very needed up here.
Hi @molongui
I would be glad to help troubleshooting, but it is a live website and will take some time to give it a try.
Meanwhile, I want to make sure of some points that may help.
- We use classic editor.
- No technical clue that Contributors MetaBox (nor Authors MetaBox) is responsible. It was the first thought as the issue take place with the same version that Contributors MetaBox is start to appear.
I did disable it with no luck. So, It is not responsible. may be Authors MetaBox who is. (I will make a test asap) - No AI providers is used. (I use TaxoPress to “Suggest Existing Terms” only) “TaxoPress AI” is just a tool name for TaxoPress plugin (WordPress Tag, Category, and Taxonomy Manager – AI Autotagger) https://taxopress.com/docs/introduction-taxopress-ai/
- As you see on pictures @ the above link, “TaxoPress AI” scans the entire post to show detected tags on boxes. Those boxes should appear with white color initially. And if you want to use a certain tag, you just click it and it would be added, turning the box color to green.
- When the conflict reproduced, TaxoPress Scans OK, but when you click any tag it halts (The Box goes gray & no tag added) looks like something blocks ajax call.
Sorry if I couldn’t express good enough as English is not my native language.
It is also a good opportunity to thank you for your amazing Molongui Authorship plugin (I use it since 4 years and It works great)Thanks for help
Forum: Plugins
In reply to: [Footnotes Made Easy] some v2.x bugsIf you allow me to suggest something for the next version. Appearing inside Settings-Footnotes menu is more valid than the stand alone one.
“Set & Forget”, should be your plugin slogan. We use it that way, such as a WP-core function, & it never failed us.
I really LOVE your work.
Forum: Plugins
In reply to: [Footnotes Made Easy] some v2.x bugsYES!
I’m using v2.3 now & confirming no issues.Forum: Plugins
In reply to: [Footnotes Made Easy] some v2.x bugsThanks, and take your time. v1.6 is doing the work fine.
Forum: Plugins
In reply to: [Footnotes Made Easy] some v2.x bugsMinor related bug: it dosn’t jump from footnotes to text starting from the 11th footnote. (only the first 10 anchors are working upwards)
and every anchored number is working fine (jumping from text to footnotes / downwards)
Forum: Plugins
In reply to: [Footnotes Made Easy] some v2.x bugsConfirming that Issues 2,3 been solved on V2.2 (Thank you for the new option / workaround which is very smart)
about #1 (or maybe two issues now!, and sorry for English is not my native language)
when we type ((some long text here, with some code inside, such as hyperlinked colored complicated text. )) it should envelop everything between (( & )), into something like [1], this is an example.. OK?!
What happened after upgrading, it is repeating some of the enveloped text after the number, to be something like that:
when we type [1] such as hyperlinked colored complicated text. )) it should bla bla bla
Those Bold text after the number, shouldn’t appear.
Also, the counting.. it count in a right way up to [10], then afterwards it count 2, 2, 2, 2, 2 >>> 3, 3, 3, 3,
You may see a live example from: here https://tabcm.net/16828/
It is not English website, but you could read the repeated numbers, or repeated text after numbers.
Thanks again for your fast respond, and please tell me when you done understanding the issues (It is a live website, & I cant stay on the new version for a long time)Forum: Plugins
In reply to: [Footnotes Made Easy] some v2.x bugsWhat a fast respond from you all.
I’ll test the new v2.2 then be right back. (with all explanation needed for #1 )