#2172 – [A] Bad Request (400) Does not contain a valid address. personalizations.0.to.0.email http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.personalizations.to |
#2171 – [A] Error: Expired API Key provided: sk_live_*********************************************************************************************J5R4PX |
#2170 – [A] FetchError: invalid json response body at https://plugin.tebex.io/payments reason: Unexpected end of JSON input |
#2169 – [A] Error: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='1'/payee","location":"body","issue":"PAYEE_ACCOUNT_RESTRICTED","description":"The merchant account is restricted."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"01e7b85b12425","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED","rel":"information_link","method":"GET"}]} |
#2151 – [A] Error: Request failed with status code 404 |
#2142 – [A] TypeError: searchQuery.startsWith is not a function |
#2139 – [A] ReferenceError: paymentId is not defined |
#2138 – releaseEdit Event |
#2130 – Product Feature Home Page |
#2120 – [A] Error: ENOENT: no such file or directory, unlink '/var/www/vhosts/tencreator.xyz/store.tencreator.xyz/etc/sql-backups/1691366400127.sql' |
#2116 – Tags Bug |
#2114 – [A] AxiosError: Request failed with status code 404 |
#2113 – [A] ReferenceError: res is not defined |
#2111 – [A] Error: socket hang up |
#2101 – [A] TypeError: Cannot read properties of undefined (reading 'toUpperCase') |
#2094 – [A] TypeError: Cannot read properties of undefined (reading 'forEach') |
#2083 – [A] TypeError: Cannot read properties of undefined (reading 'insertId') |
#2082 – [A] TypeError: Cannot read properties of undefined (reading 'filter') |
#2068 – FaxStore Options Link |
#2066 – Paused Item Added to cart |
#2062 – [A] Error: ENOSPC: no space left on device, write |
#2059 – License System Issue |
#2058 – [A] TypeError: Cannot read properties of undefined (reading 'forEach') |
#2055 – [A] TypeError: Cannot read properties of undefined (reading 'inMaintenance') |
#2051 – Ongoing Price Issues |
#2039 – Stuck update screen |
#2030 – Email sends "undefined" |
#2027 – Ongoing 403 SendGrid Errors |
#2021 – [A] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined". |
#2020 – PayPal Payment with Tebby Intergration |
#2013 – Users can still review without selecting or owning a product |
#2010 – [A] Error: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: 'xF0x9Dx95xBCxF0x9D...' for column 'username' at row 1 |
#2008 – [A] Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client |
#2007 – Tebex Integration Bug |
#2003 – [A] RangeError: Invalid string length |
#2001 – [A] TypeError: Cannot read properties of null (reading 'replaceAll') |
#1982 – Review creation |
#1966 – reviews.length error |
#1959 – Mobile Admin |
#1952 – Package Delete |
#1938 – Item Type - Misbehaviour |
#1935 – The text in the edit product section goes out of the button borders |
#1927 – [A] Error: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: 'xF0x9Fx87xA8xF0x9F...' for column 'username' at row 1 |
#1925 – [A] TypeError: Cannot read properties of undefined (reading 'name') |
#1924 – [A] TypeError: Cannot read properties of undefined (reading 'filter') |
#1923 – Invoice Payment method field incorrect. |
#1922 – [A] Forbidden (403) The from address does not match a verified Sender Identity |
#1921 – [A] Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Connell"}')' at line 1 |
#1919 – Redirected to 0.0.0.1 when deleting a package. |
#1915 – [A] TypeError: Cannot set properties of undefined (setting 'user') |
#1913 – Users unable to login or create an account |
#1911 – Changing URL ID results in 404 Error |
#1905 – String not accepted |
#1904 – [A] Error: ER_PARSE_ERROR |
#1886 – [A] Error: ER_PARSE_ERROR |
#1882 – [A] Error: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD |
#1873 – LicenseSystem: ERR_TOO_MANY_REDIRECTS |
#1870 – Beta Tags |
#1865 – [A] TypeError: Cannot read properties of undefined (reading 'cookieBanner') |
#1864 – Tables on Static Pages Not Working |
#1863 – Custom Item Added Does Not Log |
#1859 – Creating / Editing Store Items |
#1858 – File Uploader |
#1857 – Gift Cards do not subtract amount taken |
#1856 – Custom upload button broken |
#1852 – Edit Store Listing |
#1851 – [A] TypeError: Cannot read properties of undefined (reading 'replaceAll') |
#1850 – TikTok button does not work |
#1849 – Upon creating a store, Discord is automatically dissabled |
#1848 – When editing a store item, the save button does nothing |
#1844 – Gateway timed-out after "backend/payments/returnfreeitem" |
#1840 – TokenError when attempting to log in |
#1835 – [A] DiscordAPIError: Invalid Form Body embeds[0].url: Not a well formed URL. |
#1821 – Admin Panel - Subscriptions |
#1818 – so when adding 100% discount codes it just loads forever |
#1800 – payment when Total: 0 |
#1796 – [A] ReferenceError: settingResults is not defined |
#1795 – Email is getting a undefined |
#1794 – [A] TypeError: Cannot read properties of undefined (reading 'replaceAll') |
#1790 – Making Server Reviews |
#1786 – Mobile Footer Is Terrible |
#1782 – [A] Error: ER_WRONG_VALUE_COUNT_ON_ROW: Column count doesn't match value count at row 1 |
#1778 – Auto Update Email |
#1774 – [A] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined". |
#1770 – Undefined Email |
#1764 – [A] Error: PAYEE_ACCOUNT_RESTRICTED |
#1740 – Can’t open notifications tab on mobile |
#1696 – Pause Purchase Bypass |
#1692 – Emails system Bug |
#1538 – Category has "Na" as description of no description is put |
#1114 – Navbar not working properly on phone |
#1001 – Staff Page Navbar not working |
#1000 – User Page Error Within using Large Display on Store Page |
#994 – Suggestion - More sitelayouts |
#910 – [A] Error: ER_PARSE_ERROR |
#898 – [A] Error: The Checkout Session's total amount due must add up to at least $0.50 usd |
#872 – Store tags not working |
#802 – User Sign Up Error |
#801 – Register user endless loading loop |
#798 – [A] Error: ER_NO_DEFAULT_FOR_FIELD: Field 'updatedAt' doesn't have a default value |
#790 – Giftcard Error |
#789 – [A] Error: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: 'xF0x9Dx93x93xF0x9D...' for column 'username' at row 1 |
#788 – Redirects from promo codes |
#786 – FaxStore Update 2.1 |
#776 – Referral system |
#772 – [A] TypeError: Cannot read properties of undefined (reading 'roles') |
#771 – [A] AMOUNT_MISMATCH |
#756 – [A] Error: Not a valid URL |
#726 – Cant set Paid or Free Downloads |
#720 – [A] UNPROCESSABLE_ENTITY |
#718 – Logout problem |
#714 – [A] TypeError: Cannot read properties of undefined (reading 'members') |
#711 – Github account creation |
#693 – opt is not defined 403 page |
#675 – 403 Page Error |
#672 – Theme Styling Issue |
#664 – Create Review Button |
#630 – Duplicated delivery |
#540 – Subscription issue |
#219 – Returning to cart |
#211 – Update issue. |
#206 – Sendgrid Emails |
#173 – Address already in use. |
#131 – Releases |
#126 – Subscribtions directly gone after cancel the sub |
#118 – First Time Setup Issue |
#117 – [A] TypeError: Cannot read properties of null (reading 'split') |
#77 – FaxStore Setup Issue |
#76 – [A] TypeError: Cannot read properties of undefined (reading 'insertId') |
#63 – [A] Error: write EIO |
#50 – [A] TypeError: Cannot read properties of undefined (reading 'id') |
#49 – [A] TypeError: Cannot read properties of undefined (reading 'productId') |
#36 – [A] ReferenceError: discordRole is not defined |
#29 – [A] ReferenceError: discordRole is not defined |
#23 – [A] Error: {"error":"invalid_client","error_description":"Client Authentication failed"} |
#12 – Links not embedding in Discord |
#10 – Static Pages |
#9 – giftcard |
reviews.length error
By FAXES |
Details
Status: Solved
Affects Version(s):
2.4.6
Labels: None
Fix Version: 2.5
Category: Front-end
Description
Expected behaviour: Load the webpage /store/
Current behaviour:
TypeError: /home/faxstore/src/views/viewstoreitem/default.ejs:303
301| </div>
302| <% } %>
>> 303| <% if(siteInfo.storeReviewsEnabled && reviews.length > 0) { %>
304| <hr id="divider02">
305| <p id="text05">User Reviews</p>
306| <div id="container10" class="container columns">
Cannot read properties of undefined (reading 'length')
at eval ("/home/faxstore/src/views/viewstoreitem/default.ejs":276:51)
at default (/home/faxstore/node_modules/ejs/lib/ejs.js:703:17)
at tryHandleCache (/home/faxstore/node_modules/ejs/lib/ejs.js:274:36)
at View.engine (/home/faxstore/node_modules/ejs/lib/ejs.js:491:10)
at View.render (/home/faxstore/node_modules/express/lib/view.js:135:8)
at tryRender (/home/faxstore/node_modules/express/lib/application.js:657:10)
at Function.render (/home/faxstore/node_modules/express/lib/application.js:609:3)
at ServerResponse.render (/home/faxstore/node_modules/express/lib/response.js:1039:7)
at Query.<anonymous> (/home/faxstore/src/pages/store.js:30:45)
at Query.<anonymous> (/home/faxstore/node_modules/mysql/lib/Connection.js:526:10)
Steps to reproduce: Load the store item page. Example currently at https://store.farmersbngmodding.com/store/hdjlc
app.use(session({
secret: 'keyboard cat',
resave: false,
saveUninitialized: false,
store: new MySQLStore({}, connection),
cookie: {maxAge: 31556952000},
}));
faxstore.on('login', function(userObject, DbUserResults) {
// Do as you wish in the event, you can fetch data and even do other actions like make an automated webhook post.
console.log(userObject);
// userObject is the data passed in the users session (in an object), this will contain some login service data like their ID, avatar, and possibly guilds.
console.log(DbUserResults);
// This is an SQL object which contains the users database information.
});
const date = Date.now();
Activity