I investigated and found that the problem only happens when “drag and drop” plugin is active.
why ?
]]>suddenly, the invoices are not generated any more, I receive the following error:
Fatal error: WPO\IPS\Documents\OrderDocument::get_language_attributes(): Return value must be of type string, null returned
/www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php (980)#0 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(989): WPO\IPS\Documents\OrderDocument->get_language_attributes() #1 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/Simple/html-document-wrapper.php(3): WPO\IPS\Documents\OrderDocument->language_attributes() #2 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1597): include(‘/www/htdocs/v13…’) #3 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1533): WPO\IPS\Documents\OrderDocument->render_template(‘/www/htdocs/v13…’, Array) #4 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1457): WPO\IPS\Documents\OrderDocument->wrap_html_content(‘\n\n<table class=…’) #5 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1407): WPO\IPS\Documents\OrderDocument->get_html() #6 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1474): WPO\IPS\Documents\OrderDocument->get_pdf() #7 /www/htdocs/XXXXXX/dev.dierakete.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Main.php(533): WPO\IPS\Documents\OrderDocument->output_pdf(‘inline’) #8 /www/htdocs/v133850/dev.dierakete.com/wp-includes/class-wp-hook.php(324): WPO\IPS\Main->generate_document_ajax(”) #9 /www/htdocs/XXXXXX/dev.dierakete.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #10 /www/htdocs/v133850/dev.dierakete.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /www/htdocs/XXXXXX/dev.dierakete.com/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_generat…’) #12 {main}
I checked for any wrong / old settings and also re-saved the current ones, but still not working. The overall screen shows “parse error”. I tried debug mode, but no further infos given. Also I use the default templates, just added the logo via settings. Also deleted cache and stuff…
Any ideas? Thank you in advance
Greetings
]]>Here is the error message that I get:?Parse error: syntax error, unexpected identifier “_”, expecting “)” in?/home/cincity/cincity.com.ua/www/wp-config.php?on line?81
I tried to increase WP memory limit using the plugin WP File Manager. I added one line in code in wp-config.php. The line that I added was:
define(‘WP_MEMORY_LIMIT’, ‘1024M’);
Now I get an error message when I try to open my website or my www.remarpro.com account so I cannot edit the line through the plugin.
I wanted to edit it from the hosting page in the File Manager but this line is not there.
]]>Parse error: syntax error, unexpected ‘)’ in /var/www/boxwalla-wordpress/public_html/wp-content/plugins/customer-reviews-woocommerce/includes/emails/class-cr-email.php on line 433
]]>Clearing the cache or disabling the pluging will fix the problem, so i’m sure it is Litespeed cache related. Any sguggestion to fix this is really welcome.
Thanks!
My website stopped working – no access to either content and wp-admin. These are the errors I get:
Parse error: syntax error, unexpected ‘}’, expecting end of file in?/home/srv47543/domains/globfoterka.pl/public_html/wp-includes/functions.wp-scripts.php?on line?1
Fatal error: Uncaught Error: Call to a member function set() on null in /home/srv47543/domains/globfoterka.pl/public_html/wp-includes/l10n.php:856 Stack trace: #0 /home/srv47543/domains/globfoterka.pl/public_html/wp-includes/l10n.php(959): load_textdomain(‘default’, ‘/home/srv47543/…’, ‘pl_PL’) #1 /home/srv47543/domains/globfoterka.pl/public_html/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in?/home/srv47543/domains/globfoterka.pl/public_html/wp-includes/l10n.php?on line?856
I have tried the following after reviewing the forum but without success:
Not sure if that’s gonna be helpful but I get these from my server logs:
2024-08-15 00:16:56.505142 [INFO] [997534] [T0] [114.119.151.171:56743#APVH_www.globfoterka.pl:443] Access is denied by context rewrite.
2024-08-15 02:10:47.276878 [INFO] [1895302] [T0] [40.77.167.70:57732:HTTP2-1#APVH_www.globfoterka.pl:443] Access is denied by context rewrite.
2024-08-15 02:15:03.617338 [NOTICE] [2043359] [T8] [66.249.92.139:55844#APVH_www.globfoterka.pl:443] [MODSEC] mod_security rule [id “350001”] at [/etc/modsecurity.d/badbots.conf:1] triggered!
[Thu Aug 15 02:15:03.617232 2024] [error] [client 66.249.92.139] ModSecurity: Access denied with code 403, [Rule: ‘REQUEST_HEADERS:User-Agent’ ‘@pmFromFile /etc/modsecurity.d/badbots.txt’] [id “350001”] [rev “1”] [msg “BAD BOT – Detected and Blocked. “] [severity “CRITICAL”] [hostname “www.globfoterka.pl”] [uri “/feed/”] [unique_id “D7ojvxyU8LcWfpmQF@IX-JdU”] 2024-08-15 02:15:03.617403 [NOTICE] [2043359] [T8] [66.249.92.139:55844#APVH_www.globfoterka.pl:443] Content len: 0, Request line: ‘GET /feed/ HTTP/1.1’
When I update from version 3.0.6 to 3.0.9 and I go to the checkout, I get the following error message:
Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE) in wp-content/plugins/woo-wallee/wallee-sdk/lib/Http/CurlHttpClient.php on line 186
The checkout is not working.
Any advice how to fix this?
]]>Parse error: syntax error, unexpected end of file, expecting “elseif” or “else” or “endif” in /htdocs/wp-content/themes/consen/template-parts/content-single.php on line 107
]]>My website was working perfectly until this message started to pop up:
Parse error: syntax error, unexpected token “as”, expecting “)” in?/var/home/chriscom/public_html/wp-content/plugins/wp-pagenavi/core.php?on line?126
I can’t even access the admin panel to fix the plugin or whatever. How to fix that?
thanks a lot
]]>