Loading...
 
Skip to main content
 Error
  • Tracker Field Factory Error: Pref "trackerfield_showtikiorg" required for field type "Tracker_Field_ShowTikiOrg"

preg_quote(): Argument #1 ($str) must be of type string, Math_Formula_Element given

Status
Closed
Subject
preg_quote(): Argument #1 ($str) must be of type string, Math_Formula_Element given
Version
Regression from 25.x to 26.x
26.x
Category
  • Error
  • Community projects
  • Dogfood on a *.tiki.org site
Feature
Trackers
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
Victor Emanouilov
Lastmod by
Xavier de Pedro
Rating
(0)
Description

I just filed this bug report:
https://dev.tiki.org/item8492-Error-on-tiki-index_p-php-Too-late-to-modify-headers-error-shown-in-wizard-for-tiki-admins-in-new-installs

as user "xavi", thorugh File a bug wiki page.
After hitting save, I saw this error message (below) where the wiki page should have provided feedback to the user (plugin tracker feedback).

Copy to clipboard
preg_quote(): Argument #1 ($str) must be of type string, Math_Formula_Element given


Selecció 341

I did set the importance to 9 because it's very discouraging to new devs or users to attempt to report bugs at the bug tracker and have the sensation that their time and report might be lost (it triggers the sensation the tiki can be unreliable - dangerous effect to our comunity)

Solution

Victor wrote:

Fixed with commits:
5be09681 and 63297855 (and backported to 26.x)

Also updated "contains" documentation. The whole idea behind original implementation is a bit wrong as parentheses are used for formula and (1,2) doesn't really make sense for a vector value in that context. Also, ... is not the correct syntax. eval formula can be invoked by (eval ...) without the inner parentheses. I am not sure which tiki versions are affected but it must have been a while since this hasn't really worked.
The fixes include change of syntax and quite a few other bugs when managing activity stream rules and formula inspection of event triggers.

The actual issue was an advanced activity rule for the bug tracker which used the contains formula incorrectly. There were also a bunch of other issues saving activity rules and triggering them while saving (inspecting the formula). All fixed and deployed to dev.tiki.org


Source: https://avan.tech/item93747-dev-tiki-org-is-now-at-26x-but-if-you-report-a-bug-there-you-get-a-bug-So-this-is-a-challenge-with-dogfood

Importance
9
Easy to solve?
5
Priority
45
Ticket ID
8493
Created
Saturday 05 August, 2023 18:32:21 GMT-0000
by Xavier de Pedro
LastModif
Thursday 07 September, 2023 12:15:20 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
No attachments for this item


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 50😎
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools

Show PHP error messages