Comments (4)
The difficulty is that one part of this plugin requires php 7.1, the inlining of css styles, but most of it does not. I left the dependency at php 5.6 but there is a fairly recent, in February I think, addition to composer to check that the requirement of php 7.1 is met.
If I change the dependency to 7.1 then you won't be able to use the plugin, or you will need to upgrade php.
If you are stuck then just remove the CommonPlugin.php file from the plugins directory.
from phplist-plugin-common.
It is the pelago/emogrifier package below that requires php 7.1. I had tried to avoid making that a hard requirement
duncan@duncan-OptiPlex-990 ~/Development/GitHub/phplist-plugin-common $ composer show --tree chdemko/bitarray 1.0.0 BitArray for PHP >= 5.4 └──php >=5.4.0 jasongrimes/paginator 1.0.2 A lightweight PHP paginator, for generating pagination controls in the style of Stack Overflow and Flickr. The 'first' and 'last' page links are shown inline as page numbers, and excess page numbers are replaced by ellipses. └──php >=5.3.0 jdorn/sql-formatter v1.2.17 a PHP SQL highlighting library └──php >=5.2.4 jmathai/php-multi-curl 9999999-dev A high performance PHP library for asynchronous curl http calls. jmathai/php-multi-curl dev-master A high performance PHP library for asynchronous curl http calls. katzgrau/klogger 1.2.1 A Simple Logging Class ├──php >=5.3 └──psr/log ^1.0.0 mouf/picotainer v1.1.0 This package contains a really minimalist dependency injection container compatible with container-interop. ├──container-interop/container-interop ~1.2 │ └──psr/container ^1.0 │ └──php >=5.3.0 └──psr/container ^1.0 └──php >=5.3.0 pelago/emogrifier v5.0.1 Converts CSS styles into inline style attributes in your HTML code ├──ext-dom * ├──ext-libxml * ├──php ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 └──symfony/css-selector ^3.4.32 || ^4.4 || ^5.1 └──php ^5.5.9|>=7.0.8 psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11) └──php >=5.3.0 psr/log 1.0.0 Common interface for logging libraries setasign/tfpdf v1.32 This class is a modified version of FPDF that adds UTF-8 support. As of version 1.31 it is based on FPDF 1.82. Before it was based on FPDF 1.7. symfony/css-selector v3.4.47 Symfony CssSelector Component └──php ^5.5.9|>=7.0.8 symfony/filesystem v3.4.0 Symfony Filesystem Component └──php ^5.5.9|>=7.0.8
from phplist-plugin-common.
The plugin now disables that check of the php version. If you had to manually remove the file I mentioned then you should be able to re-install the plugin on the Manage Plugins page.
from phplist-plugin-common.
Oh, right on.
With the error, I ended up restoring the complete backup I made before my PHPList core update.
I just updated the plugin again after your instruction, and all seems tip-top Magoo.
Cheers, Bramley.
from phplist-plugin-common.
Related Issues (13)
- missing static method usePanel? HOT 4
- Getting ERROR 500 after activate HOT 2
- pdf report and utf HOT 4
- PHP 7.1 compat error HOT 5
- Greek alphabet strings in attribute titles are mangled when truncated due to substr() HOT 4
- PHP 8.1 dependency HOT 3
- Breaking changes CampaignsPlugin HOT 1
- Compatibility issue for v3.6.10 HOT 1
- PHPlist crashes after installing phplist-plugin-common HOT 7
- php 8.2 HOT 2
- parse error HOT 3
- [Question] Compatibility with PHP v7.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phplist-plugin-common.