PHP MBString Extension is not enabled in your php setup, please enabled to work perfectly Easy Table of Contents. Check official doc: PHP Manual
But checking the active PHP extensions on the server indicates the extension was already active.
EToC Version 2.0.64
WP Version 6.4.3
PHP Version 8.0
Fatal error: Class ‘DOMDocument’ not found
#0 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(50): Dompdf\Dompdf->loadHtml(‘…’)
#1 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(627): WPO\WC\PDF_Invoices\PDF_Maker->output()
#2 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(662): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
#3 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(337): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’)
#4 /usr/share/nginx/web/prabhuji.net/wp-includes/class-wp-hook.php(288): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
#5 /usr/share/nginx/web/prabhuji.net/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#6 /usr/share/nginx/web/prabhuji.net/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#7 /usr/share/nginx/web/prabhuji.net/wp-admin/admin-ajax.php(175): do_action(‘wp_ajax_generat…’)
#8 {main}
Please let me know how to fix that.
Thank you!!!
Whenever I click activate it says
“WP Simple Pay Lite for Stripe could not be activated.
Required PHP Extension(s) not found: mbstring.
Please update to meet WP Simple Pay Lite for Stripe requirements. ” #
Please can anybody help?
Thanks,
Nina.
geoip_country_code_by_name()
versus the official version from the geoip PHP extension: https://php.net/manual/en/function.geoip-country-code-by-name.php
PHP Warning: Missing argument 2 for geoip_country_code_by_name(), called in /wp-content/plugins/edd-vat/includes/actions.php on line 532 and defined in /wp-content/plugins/wordfence/lib/wfGeoIP.php on line 448
It seems that both Wordfence and this other plugin (edd-vat) check for the existence of this function and create it when not present. However, your implementation differs from the official function (here) in that it takes completely different arguments, so when this other plugin calls this function and then uses yours, things go haywire.
I could enable the geoip extension to prevent either plugins from (re)creating this function, but I’m not sure if this will break anything in your plugin because your syntax will still be different to the official syntax… (regardless of whether I use that other plugin).
How should I best proceed?
Ewout
# Vhost Config: example.com
server {
root /var/www/vhosts/sites/www.example.com/web;
index index.php index.html index.htm;
server_name example.com www.example.com;
port_in_redirect off;
location /Denied {
return 403;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~* ^(/sitemap).*(\.xml)$ {
rewrite ^ /index.php;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location = /404.html {
root /usr/share/nginx/html;
}
location ~ ^/.*\.php$ {
try_files $uri = 404;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|xml)(\?ver=[0-9.]+)?$ {
expires 1w;
log_not_found off;
}
location ~ /\. {
deny all;
}
location = /ping.html
{
access_log off;
}
}
I commented out “#try_files $uri = 404;” to see if that would work however that resulted in a “File not found.” message.
So the main problem is trying to get WordPress and nginx to see the permalink with a .php extension before it tries to run a .php file which it sees is a not a real file.
Is this possible?
]]>https://www.ads-software.com/plugins/cybersyn/
]]>I recently switched my old fashioned hand coded static site into a nice WordPress one.
However, I want my .php old files indexed in Google to redirect to my pretty WordPress links (without extension).
I tried diverse .htaccess codes but it doesn’t seem to work.
Found a default .htaccess including this code in my root folder (where the new site lies)
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Could this be this one that prevents a 301 redirect from working fine?
Thanks in advance for the replies.
Dom.
]]>i suggest to add an official page to www.ads-software.com, which lists all php-extension which are required for the base installation of wordpress. for the present version and all future versions seperately.
what are your thoughts on this?
]]>